From 18e4f51c61cfc8b227fac98840a554b03b6ae4a4 Mon Sep 17 00:00:00 2001 From: Leo Puvilland Date: Thu, 21 Dec 2023 14:44:49 -0800 Subject: [PATCH] Make only the nagios group able to execute the matrix-notify script Signed-off-by: Leo Puvilland --- roles/nagios_server/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nagios_server/tasks/main.yml b/roles/nagios_server/tasks/main.yml index bd45a7af56..40ae40a8e8 100644 --- a/roles/nagios_server/tasks/main.yml +++ b/roles/nagios_server/tasks/main.yml @@ -444,7 +444,7 @@ notify: restart nagios - name: Copy Matrix-Notify script - template: src=nagios/scripts/matrix-notify.sh.j2 dest=/usr/local/bin/matrix-notify.sh mode=0700 owner=root group=root + template: src=nagios/scripts/matrix-notify.sh.j2 dest=/usr/local/bin/matrix-notify.sh mode=0750 owner=root group=nagios tags: - nagios_config - nagios_server