modif main.yml
This commit is contained in:
parent
41a489362b
commit
d1f2f12b34
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user