Fix quotes

This commit is contained in:
Łukasz Oleś 2015-09-29 12:50:32 +02:00
parent f08bd1472d
commit 3d6f48ffcf

View File

@ -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 %}