try to fix the breakage with adding {{files}}

This commit is contained in:
Stephen Smoogen 2017-01-07 22:46:25 +00:00
parent 239007aee3
commit 1d6950f5ea

View file

@ -70,12 +70,12 @@
## Copy over system configs
- name: Copy httpd config
template: src=httpd/nagios.conf dest=/etc/httpd/conf.d/nagios.conf
template: src="{{ files }}/httpd/nagios.conf" dest=/etc/httpd/conf.d/nagios.conf
tags:
- nagios_server
- name: Copy specialized nrpe.cfg for nagios server
copy: src=nrpe/nrpe.cfg dest=/etc/nagios/nrpe.cfg mode=0644 group=root owner=root
copy: src="{{ files }}/nrpe/nrpe.cfg" dest=/etc/nagios/nrpe.cfg mode=0644 group=root owner=root
notify:
- restart nrpe
tags:
@ -85,7 +85,7 @@
## Copy over the command scripts
- name: Copy /etc/nagios/commands
synchronize: src=nagios/commands/ dest=/etc/nagios/commands/
synchronize: src="{{ files }}/nagios/commands/" dest=/etc/nagios/commands/
tags:
- nagios-config
- nagios_server