modif main.yml

This commit is contained in:
root 2021-01-07 15:55:42 +01:00
parent 41a489362b
commit d1f2f12b34

View File

@ -70,17 +70,17 @@
- restart icinga - restart icinga
- name: attribution des droits dossier var lib icinga #- name: attribution des droits dossier var lib icinga
shell: chmod 2770 /var/lib/icinga/rw # shell: chmod 2770 /var/lib/icinga/rw
notify: # notify:
- stop icinga # - stop icinga
- name: attribution des droits dossier var lib icinga - name: attribution des droits dossier var lib icinga
file: file:
path: /var/lib/icinga/rw path: /var/lib/icinga/rw
owner: www-data # owner: www-data
mode: 2710 mode: 2710
recurse: yes # recurse: yes
notify: notify:
- restart icinga - restart icinga
@ -101,4 +101,6 @@
debug: msg="Pour superviser le Windows, il faut installer NSClient++" debug: msg="Pour superviser le Windows, il faut installer NSClient++"
- name: redemarrage apache - name: redemarrage apache
shell: service apache2 restart service:
name: apache2
status: restarted