From 0ef79d9bf9347ca8faa01c6932144f77fe9bb38a Mon Sep 17 00:00:00 2001 From: root Date: Tue, 12 Jan 2021 16:18:21 +0100 Subject: [PATCH] ajout de force-all dans dpkg --- roles/icinga-fk/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/icinga-fk/tasks/main.yml b/roles/icinga-fk/tasks/main.yml index 20e14d0..84a2a8f 100644 --- a/roles/icinga-fk/tasks/main.yml +++ b/roles/icinga-fk/tasks/main.yml @@ -84,10 +84,10 @@ - restart icinga - name: reconfiguration des droits avec dpkg statoverride - shell: dpkg-statoverride --update --add nagios www-data 2710 /var/lib/icinga/rw + shell: dpkg-statoverride --update --force-all --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 + shell: dpkg-statoverride --update --force-all --add nagios nagios 751 /var/lib/icinga - name: suppression de checkresults file: