stop messing up quotes

This commit is contained in:
2016-08-18 23:25:13 +12:00
parent 4a5da9bf15
commit b6049f8b8f

View File

@@ -88,10 +88,10 @@
line: "{{ item.line }}"
backrefs: yes
with_items:
- {regexp: "^127\.0\.0\.1.+localdomain4$",
- {regexp: "^127.0.0.1.+localdomain4$",
line: "127.0.0.1 localhost {{ ansible_hostname }}"
}
- {regexp: "^\:\:1.+localdomain6$",
- {regexp: "^::1.+localdomain6$",
line: "::1 localhost {{ ansible_hostname }}"
}
- {regexp: "^{{ ansible_default_ipv4.address }}.*{{ ansible_default_ipv4.address.split('.')[-1] }}$",