diff --git a/roles/dhcp-fog/files/dhcpd.conf b/roles/dhcp-fog/files/dhcpd.conf index 4371dc6..a2bbb98 100644 --- a/roles/dhcp-fog/files/dhcpd.conf +++ b/roles/dhcp-fog/files/dhcpd.conf @@ -109,12 +109,12 @@ log-facility local7; #DHCP pour le réseau wifi #subnet 172.16.65.0 netmask 255.255.255.0 { # range 172.16.65.1 172.16.65.100; -# option domain-name-servers ns1.internal.example.org; -# option domain-name "internal.example.org"; -# option routers 10.5.5.1; -# option broadcast-address 10.5.5.31; -# default-lease-time 600; -# max-lease-time 7200; +# option domain-name-servers ns1.internal.example.org; +# option domain-name "internal.example.org"; +# option routers 10.5.5.1; +# option broadcast-address 10.5.5.31; +# default-lease-time 600; +# max-lease-time 7200; #} #DHCP pour le réseau USER diff --git a/roles/dhcp-fog/tasks/main.yml b/roles/dhcp-fog/tasks/main.yml index 9b51946..c583e71 100644 --- a/roles/dhcp-fog/tasks/main.yml +++ b/roles/dhcp-fog/tasks/main.yml @@ -10,5 +10,3 @@ copy: src=dhcpd.conf dest=/etc/dhcp/ notify: - restart isc-dhcp-server - - diff --git a/roles/fog/tasks/main.yml b/roles/fog/tasks/main.yml index c1452be..3e0588d 100644 --- a/roles/fog/tasks/main.yml +++ b/roles/fog/tasks/main.yml @@ -1,17 +1,15 @@ --- -- name: creation d'un repertoire fog - file: - path: /root/tools/fog - state: directory - - name: recuperation de l'archive d'installation fog sur git git: repo: https://gitea.lyc-lecastel.fr/gadmin/fog.git dest: /root/tools/fog/ clone: yes update: yes + force: yes -#- name: Instructions -# tags: msg -# debug: msg='{{instructions}}' - +- name: Modification fichier bash (desac UDPCast) + ansible.builtin.lineinfile: + path: /root/tools/fog/lib/common/functions.sh + regexp: '^configureUDPCast\(\).*' + line: "configureUDPCast() {\nreturn" + backup: yes