summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorStephen Smoogen <smooge@redhat.com>2017-01-10 22:47:58 +0000
committerStephen Smoogen <smooge@redhat.com>2017-01-10 22:47:58 +0000
commit8a2ec36569d03d92ba1be750f70bc5414ac77bb8 (patch)
treeb6e4a0463bbd0a244819c3739b5ab8e31b802fdd /roles
parenta7647a3cbbd750b6b54c8b9f3d449ffc0eba8fe5 (diff)
downloadansible-8a2ec36569d03d92ba1be750f70bc5414ac77bb8.tar.gz
ansible-8a2ec36569d03d92ba1be750f70bc5414ac77bb8.tar.xz
ansible-8a2ec36569d03d92ba1be750f70bc5414ac77bb8.zip
and we have some new hosts
Diffstat (limited to 'roles')
-rw-r--r--roles/nagios_server/templates/nagios/hosts/phx2-mgmt-hosts.cfg.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/nagios_server/templates/nagios/hosts/phx2-mgmt-hosts.cfg.j2 b/roles/nagios_server/templates/nagios/hosts/phx2-mgmt-hosts.cfg.j2
index 3abbe021d..af5e6a90c 100644
--- a/roles/nagios_server/templates/nagios/hosts/phx2-mgmt-hosts.cfg.j2
+++ b/roles/nagios_server/templates/nagios/hosts/phx2-mgmt-hosts.cfg.j2
@@ -8,3 +8,16 @@ define host {
}
{% endfor %}
+##
+## These hosts may have limited ssh/http/https
+
+{% for host in vars['phx2_management_limited'] %}
+define host {
+ host_name {{ host }}
+ alias {{ host }}
+ use mincheck
+ address {{ host }}
+ parents phx2-gw
+}
+{% endfor %}
+