Skip to content
Snippets Groups Projects
Commit 51a09960 authored by Smaine Kahlouch's avatar Smaine Kahlouch Committed by ant31
Browse files

fix regexp for resolv.conf

parent 80ac2ec6
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ ...@@ -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']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment