only install 0_nagios-external.conf on noc02

This commit is contained in:
Kevin Fenzi 2017-08-09 23:37:05 +00:00
parent 3fbc71a614
commit 40df91bb64

View file

@ -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: