Fix quotes
This commit is contained in:
parent
f08bd1472d
commit
3d6f48ffcf
@ -5,7 +5,7 @@
|
|||||||
- name: Create hosts entries for {{val['name']}} => {{val['ip']}}
|
- name: Create hosts entries for {{val['name']}} => {{val['ip']}}
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/hosts
|
dest: /etc/hosts
|
||||||
regexp: '.*{{val['name']}}$'
|
regexp: ".*{{val['name']}}$"
|
||||||
line: '{{val['ip']}} {{val['name']}}'
|
line: "{{val['ip']}} {{val['name']}}"
|
||||||
state: present
|
state: present
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user