From a4dc321d58c878d05cf1251b1bf3dee4e0eb53c9 Mon Sep 17 00:00:00 2001 From: sio Date: Wed, 20 Jan 2021 10:48:03 +0100 Subject: [PATCH] chgt pout resolv.conf de r-vp2 --- roles/post/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/post/tasks/main.yml b/roles/post/tasks/main.yml index 80844c4..ea88111 100644 --- a/roles/post/tasks/main.yml +++ b/roles/post/tasks/main.yml @@ -8,6 +8,10 @@ copy: src=resolv.conf dest=/etc/ when: ansible_hostname != "s-adm" and ansible_hostname != "s-proxy" +- name: pas de chgt resolv.conf pour r-vp2 + meta: end_play + when: ansible_hostname == "r-vp2" + - name: Copie resolv.conf pour s-proxy copy: src=resolv.conf.s-proxy dest=/etc/resolv.conf when: ansible_hostname == "s-proxy"