Browse Source

fix regexp for resolv.conf

pull/60/head
Smaine Kahlouch 9 years ago
committed by ant31
parent
commit
51a0996087
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/dnsmasq/tasks/main.yml

2
roles/dnsmasq/tasks/main.yml

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

Loading…
Cancel
Save