only install 0_nagios-external.conf on noc02
This commit is contained in:
parent
3fbc71a614
commit
40df91bb64
1 changed files with 8 additions and 1 deletions
|
@ -277,11 +277,18 @@
|
|||
- name: Template out the nagios httpd conf
|
||||
template: src=httpd/{{item}}.j2 dest=/etc/httpd/conf.d/{{item}}
|
||||
with_items:
|
||||
- 0_nagios-external.conf
|
||||
- nagios.conf
|
||||
tags:
|
||||
- nagios_server
|
||||
|
||||
- name: Template out the nagios httpd conf
|
||||
template: src=httpd/{{item}}.j2 dest=/etc/httpd/conf.d/{{item}}
|
||||
with_items:
|
||||
- 0_nagios-external.conf
|
||||
tags:
|
||||
- nagios_server
|
||||
when: env == "production" and nagios_location == "external"
|
||||
|
||||
- name: Template out the cgi.cfg
|
||||
template: src=nagios/configs/cgi.cfg.j2 dest=/etc/nagios/cgi.cfg mode=0644 owner=root group=root
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue