nope that was worse
This commit is contained in:
parent
1d6950f5ea
commit
8bc3a12996
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue