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