Commit 6b97f993 authored by Florian Kempenich's avatar Florian Kempenich
Browse files

Update marker in `.ansible-droplet-inventory`

parent 88d5799d
......@@ -48,7 +48,7 @@
blockinfile:
path: "{{ ansible_env.HOME }}/.ssh/config"
state: present
marker: "# {mark} Ansible-managed DigitalOcean Droplet: '{{ droplet_name }}'"
marker: "### ANSIBLE MANAGED - DigitalOcean Droplet: '{{ droplet_name }}' - {mark} #######################"
block: |
Host {{ droplet_name }}
Hostname {{ created.droplet.ip_address }}
......
......@@ -33,7 +33,7 @@
blockinfile:
path: "{{ ansible_env.HOME }}/.ssh/config"
state: absent
marker: "# {mark} Ansible-managed DigitalOcean Droplet: '{{ droplet_name }}'"
marker: "### ANSIBLE MANAGED - DigitalOcean Droplet: '{{ droplet_name }}' - {mark} #######################"
- name: "Remove Droplet from Ansible Host in `~/.ansible-droplet-inventory`"
blockinfile:
......
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