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

View File

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