nope that was worse

This commit is contained in:
Stephen Smoogen 2017-01-07 22:50:27 +00:00
parent 1d6950f5ea
commit 8bc3a12996

View file

@ -70,12 +70,12 @@
## Copy over system configs
- name: Copy httpd config
template: src="{{ files }}/httpd/nagios.conf" dest=/etc/httpd/conf.d/nagios.conf
template: src=httpd/nagios.conf dest=/etc/httpd/conf.d/nagios.conf
tags:
- nagios_server
- name: Copy specialized nrpe.cfg for nagios server
copy: src="{{ files }}/nrpe/nrpe.cfg" dest=/etc/nagios/nrpe.cfg mode=0644 group=root owner=root
copy: src=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="{{ files }}/nagios/commands/" dest=/etc/nagios/commands/
synchronize: src=nagios/commands/ dest=/etc/nagios/commands/
tags:
- nagios-config
- nagios_server