From aedd31556131db19ca9e37c512c0b8cd54d9d87c Mon Sep 17 00:00:00 2001 From: bb Date: Mon, 11 Jan 2021 10:58:17 +0100 Subject: [PATCH] Probleme resolv.conf resolu --- roles/itil/defaults/main.yml | 2 +- roles/post/tasks/main.yml | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/roles/itil/defaults/main.yml b/roles/itil/defaults/main.yml index 44c63a9..f82b605 100644 --- a/roles/itil/defaults/main.yml +++ b/roles/itil/defaults/main.yml @@ -1,4 +1,4 @@ -depl_url: "http://s-adm.gsb.adm/gsbstore/" +depl_url: "http://s-adm.gsb.adm/gsbstore" depl_glpi: "glpi-9.5.3.tgz" depl_fusioninventory: "fusioninventory-9.5.0+1.0.tar.bz2" depl_fusioninventory_agentx64: "fusioninventory-agent_windows-x64_2.6.exe" diff --git a/roles/post/tasks/main.yml b/roles/post/tasks/main.yml index d750d2d..80844c4 100644 --- a/roles/post/tasks/main.yml +++ b/roles/post/tasks/main.yml @@ -6,11 +6,7 @@ - name: Copie resolv.conf copy: src=resolv.conf dest=/etc/ - when: ansible_hostname != "s-adm" - -- name: Copie resolv.conf - copy: src=resolv.conf dest=/etc/ - when: ansible_hostname != "s-proxy" + when: ansible_hostname != "s-adm" and ansible_hostname != "s-proxy" - name: Copie resolv.conf pour s-proxy copy: src=resolv.conf.s-proxy dest=/etc/resolv.conf