Make only the nagios group able to execute the matrix-notify script

Signed-off-by: Leo Puvilland <leo@craftcat.dev>
This commit is contained in:
Leo Puvilland 2023-12-21 14:44:49 -08:00
parent 00d82f8610
commit 18e4f51c61
No known key found for this signature in database
GPG key ID: 20EA96682F9368EB

View file

@ -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