Fix template file not being copied (matrix-notify script)
Signed-off-by: Leo Puvilland <leo@craftcat.dev>
This commit is contained in:
parent
a60db282a0
commit
e04948b31a
1 changed files with 7 additions and 6 deletions
|
@ -153,12 +153,6 @@
|
|||
- nagios_server
|
||||
notify: restart nagios
|
||||
|
||||
- name: Copy Matrix-Notify script
|
||||
copy: src=scripts/matrix-notify.sh dest=/usr/local/bin/matrix-notify.sh mode=0700 owner=root group=root
|
||||
tags:
|
||||
- nagios_config
|
||||
- nagios_server
|
||||
|
||||
## Copy over the contacts
|
||||
- name: Copy /etc/nagios/contacts
|
||||
synchronize: src=nagios/contacts/ dest=/etc/nagios/contacts/
|
||||
|
@ -449,6 +443,13 @@
|
|||
- nagios_hosts
|
||||
notify: restart nagios
|
||||
|
||||
- name: Copy Matrix-Notify script
|
||||
template: src=scripts/matrix-notify.sh.j2 dest=/usr/local/bin/matrix-notify.sh mode=0700 owner=root group=root
|
||||
tags:
|
||||
- nagios_config
|
||||
- nagios_server
|
||||
|
||||
|
||||
## These are only available to the internal server
|
||||
- name: Build out nagios host templates (production)
|
||||
template: src=nagios/hosts/{{item}}.j2 dest=/etc/nagios/hosts/{{item}} mode=0644 owner=root group=root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue