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

Update marker in `.ssh/config`

parent a3fa57b5
......@@ -59,7 +59,7 @@
path: "{{ ansible_env.HOME }}/.ansible-droplet-inventory"
state: present
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"
- name: "Refresh inventory"
......
......@@ -39,4 +39,4 @@
blockinfile:
path: "{{ ansible_env.HOME }}/.ansible-droplet-inventory"
state: absent
marker: "# {mark} Ansible-managed DigitalOcean Droplet: '{{ droplet_name }}'"
marker: "### ANSIBLE MANAGED - DigitalOcean Droplet: '{{ droplet_name }}' - {mark} #######################"
Markdown is supported
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