Compare commits

...

2 Commits

Author SHA1 Message Date
7250eefb44 Merge branch 'master' of https://gitea.lyc-lecastel.fr/gadmin/gsb2021 2021-01-07 15:56:29 +01:00
d1f2f12b34 modif main.yml 2021-01-07 15:55:42 +01:00

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