From d107c26449c0522b58a7f50a9368d469830b13e4 Mon Sep 17 00:00:00 2001 From: Anthony Arnoux Date: Fri, 28 Apr 2023 09:39:52 +0200 Subject: [PATCH] =?UTF-8?q?d=C3=A9lais=20dhcp=20r-int=20dhcp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/r-int/tasks/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/r-int/tasks/main.yml b/roles/r-int/tasks/main.yml index 88f86c0..10a5577 100644 --- a/roles/r-int/tasks/main.yml +++ b/roles/r-int/tasks/main.yml @@ -17,3 +17,13 @@ #- name: extraction fog.tar.gz #unarchive: src=/tmp/fog.tar.gz dest=/var/www/ copy=no + +- name: delais 2 secondes isc-dhcp-service + become: yes + lineinfile: + path: /etc/init.d/isc-dhcp-server + insertafter: '^\s+start\)$' + line: " sleep 2" + firstmatch: yes + state: present + backup: yes