From 18ba7d06e5a3601c2228515e230063b94df6c8a2 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 11 Jan 2021 08:24:37 +0100 Subject: [PATCH] modif de l'ordre des droits rw --- roles/icinga-fk/tasks/main.yml | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/roles/icinga-fk/tasks/main.yml b/roles/icinga-fk/tasks/main.yml index 867dfb3..23768a2 100644 --- a/roles/icinga-fk/tasks/main.yml +++ b/roles/icinga-fk/tasks/main.yml @@ -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