Compare commits
No commits in common. "d8bc589637f699000d0baa433749902d469557cf" and "3cf9daf8cbd8536536fcdabb2f27a5136160843b" have entirely different histories.
d8bc589637
...
3cf9daf8cb
@ -59,6 +59,7 @@
|
|||||||
notify:
|
notify:
|
||||||
- restart icinga
|
- restart icinga
|
||||||
|
|
||||||
|
|
||||||
- name: attribution des droits dossier icinga rw
|
- name: attribution des droits dossier icinga rw
|
||||||
file:
|
file:
|
||||||
path: /var/lib/icinga/rw
|
path: /var/lib/icinga/rw
|
||||||
@ -68,32 +69,6 @@
|
|||||||
notify:
|
notify:
|
||||||
- restart icinga
|
- restart icinga
|
||||||
|
|
||||||
- name: activation des commandes externes
|
|
||||||
replace:
|
|
||||||
dest: /etc/icinga/icinga.cfg
|
|
||||||
regexp: 'check_external_commands=0'
|
|
||||||
replace: 'check_external_commands=1'
|
|
||||||
notify:
|
|
||||||
- restart icinga
|
|
||||||
|
|
||||||
- name: reconfiguration des droits avec dpkg statoverride
|
|
||||||
shell: dpkg-statoverride --update --add nagios www-data 2710 /var/lib/icinga/rw
|
|
||||||
|
|
||||||
- name: reconfiguration des droits avec dpkg statoverride
|
|
||||||
shell: dpkg-statoverride --update --add nagios nagios 751 /var/lib/icinga
|
|
||||||
|
|
||||||
- name: suppression de checkresults
|
|
||||||
file:
|
|
||||||
path: /var/lib/icinga/spool/checkresults
|
|
||||||
state: absent
|
|
||||||
|
|
||||||
- name: creation du dossier checkresults avec droits de lecture
|
|
||||||
file:
|
|
||||||
path:/var/lib/icinga/spool/checkresults
|
|
||||||
state: directory
|
|
||||||
owner: nagios
|
|
||||||
group: root
|
|
||||||
mode: '755'
|
|
||||||
|
|
||||||
#- name: Changement droit notif
|
#- name: Changement droit notif
|
||||||
# shell: chmod 644 /var/log/icinga/icinga.log
|
# shell: chmod 644 /var/log/icinga/icinga.log
|
||||||
|
Loading…
x
Reference in New Issue
Block a user