This commit is contained in:
bb 2021-01-11 09:15:27 +01:00
commit c478e22273

View File

@ -6,7 +6,7 @@
- snmp
- icinga
- nagios-snmp-plugins
- python-passlib
- python3-passlib
state: present
- name: Copie de fichier icinga.conf pour apache
@ -50,16 +50,6 @@
notify:
- restart icinga
- name: attribution des droits dossier icinga rw
file:
path: /var/lib/icinga/rw
owner: nagios
mode: 2710
recurse: yes
notify:
- restart icinga
- name: attribution des droits dossier icinga
file:
path: /var/lib/icinga
@ -70,20 +60,16 @@
- 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
- name: attribution des droits dossier icinga rw
file:
path: /var/lib/icinga/rw
# owner: www-data
owner: nagios
mode: 2710
# recurse: yes
recurse: yes
notify:
- restart icinga
#- name: Changement droit notif
# shell: chmod 644 /var/log/icinga/icinga.log