Commit fea5fa75 authored by Florian Kempenich's avatar Florian Kempenich
Browse files

Update marker in `.ssh/config`

parent a3fa57b5
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
path: "{{ ansible_env.HOME }}/.ansible-droplet-inventory" path: "{{ ansible_env.HOME }}/.ansible-droplet-inventory"
state: present state: present
create: yes create: yes
marker: "# {mark} Ansible-managed DigitalOcean Droplet: '{{ droplet_name }}'" marker: "### ANSIBLE MANAGED - DigitalOcean Droplet: '{{ droplet_name }}' - {mark} #######################"
block: "{{ droplet_name }} ansible_host={{ created.droplet.ip_address }} ansible_user=root ansible_python_interpreter=/usr/bin/python3" block: "{{ droplet_name }} ansible_host={{ created.droplet.ip_address }} ansible_user=root ansible_python_interpreter=/usr/bin/python3"
- name: "Refresh inventory" - name: "Refresh inventory"
......
...@@ -39,4 +39,4 @@ ...@@ -39,4 +39,4 @@
blockinfile: blockinfile:
path: "{{ ansible_env.HOME }}/.ansible-droplet-inventory" path: "{{ ansible_env.HOME }}/.ansible-droplet-inventory"
state: absent state: absent
marker: "# {mark} Ansible-managed DigitalOcean Droplet: '{{ droplet_name }}'" marker: "### ANSIBLE MANAGED - DigitalOcean Droplet: '{{ droplet_name }}' - {mark} #######################"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment