make an iad2-internal hosts for our systems
This commit is contained in:
parent
df38d67d44
commit
cd97509505
2 changed files with 44 additions and 0 deletions
|
@ -426,6 +426,18 @@
|
|||
- nagios_hosts
|
||||
notify: restart nagios
|
||||
|
||||
## These are only available to the internal server
|
||||
- name: Build out nagios host templates (production)
|
||||
template: src=nagios/hosts/{{item}}.j2 dest=/etc/nagios/hosts/{{item}} mode=0644 owner=root group=root
|
||||
with_items:
|
||||
- iad2-hosts.cfg
|
||||
when: env == "production" and nagios_location == 'iad2_internal'
|
||||
tags:
|
||||
- nagios_server
|
||||
- nagios_config
|
||||
- nagios_hosts
|
||||
notify: restart nagios
|
||||
|
||||
- name: Build out nagios host templates (production)
|
||||
template: src=nagios/hosts/{{item}}.j2 dest=/etc/nagios/hosts/{{item}} mode=0644 owner=root group=root
|
||||
with_items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue