changement fichier fog

This commit is contained in:
Corentin Hurtret 2023-01-31 09:25:26 +01:00
parent 019096fb7e
commit 46ad76af18
3 changed files with 13 additions and 17 deletions

View File

@ -10,5 +10,3 @@
copy: src=dhcpd.conf dest=/etc/dhcp/ copy: src=dhcpd.conf dest=/etc/dhcp/
notify: notify:
- restart isc-dhcp-server - restart isc-dhcp-server

View File

@ -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 - name: recuperation de l'archive d'installation fog sur git
git: git:
repo: https://gitea.lyc-lecastel.fr/gadmin/fog.git repo: https://gitea.lyc-lecastel.fr/gadmin/fog.git
dest: /root/tools/fog/ dest: /root/tools/fog/
clone: yes clone: yes
update: yes update: yes
force: yes
#- name: Instructions - name: Modification fichier bash (desac UDPCast)
# tags: msg ansible.builtin.lineinfile:
# debug: msg='{{instructions}}' path: /root/tools/fog/lib/common/functions.sh
regexp: '^configureUDPCast\(\).*'
line: "configureUDPCast() {\nreturn"
backup: yes