diff --git a/roles/wireguard-l/tasks/main.yml b/roles/wireguard-l/tasks/main.yml index 1fd516c..7091506 100644 --- a/roles/wireguard-l/tasks/main.yml +++ b/roles/wireguard-l/tasks/main.yml @@ -14,7 +14,15 @@ name: wireguard-tools state: present - +- 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 #- name: renommage du fichier de configuration # command: "mv /etc/wireguard/wg0-b.conf /etc/wireguard/wg0.conf"