From 51a09960875a95ad71560c3d4c87d234170f2b5e Mon Sep 17 00:00:00 2001 From: Smaine Kahlouch <smaine.kahlouch@arkena.com> Date: Fri, 15 Jan 2016 10:35:43 +0100 Subject: [PATCH] fix regexp for resolv.conf --- roles/dnsmasq/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/dnsmasq/tasks/main.yml b/roles/dnsmasq/tasks/main.yml index df5e59a00..b9f8341a6 100644 --- a/roles/dnsmasq/tasks/main.yml +++ b/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'] -- GitLab