fix regexp for resolv.conf

This commit is contained in:
Smaine Kahlouch 2016-01-15 10:35:43 +01:00 committed by ant31
parent 80ac2ec6fc
commit 51a0996087

View file

@ -76,7 +76,7 @@
line: nameserver {{ hostvars[item]['ansible_default_ipv4']['address'] }} line: nameserver {{ hostvars[item]['ansible_default_ipv4']['address'] }}
dest: "{{resolvconffile}}" dest: "{{resolvconffile}}"
state: present state: present
insertafter: EOF insertafter: "^search.*$"
backup: yes backup: yes
follow: yes follow: yes
with_items: groups['kube-master'] with_items: groups['kube-master']