summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Smoogen <smooge@redhat.com>2017-04-30 01:49:48 +0000
committerStephen Smoogen <smooge@redhat.com>2017-04-30 01:49:48 +0000
commitc998d21494840e9e9229c903c577ab32fb186e2c (patch)
treee6e060f8fc83d97e52a6006c227343c7c5b0fd78
parent9c2043165a912f3358858b1398e94ad356c3b03f (diff)
downloadansible-c998d21494840e9e9229c903c577ab32fb186e2c.tar.gz
ansible-c998d21494840e9e9229c903c577ab32fb186e2c.tar.xz
ansible-c998d21494840e9e9229c903c577ab32fb186e2c.zip
it would help if you committed the file you were trying to use
-rw-r--r--roles/nagios_server/templates/nagios/hostgroups/nomail.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/nagios_server/templates/nagios/hostgroups/nomail.cfg b/roles/nagios_server/templates/nagios/hostgroups/nomail.cfg
new file mode 100644
index 000000000..6a83ad30b
--- /dev/null
+++ b/roles/nagios_server/templates/nagios/hostgroups/nomail.cfg
@@ -0,0 +1,4 @@
+define hostgroup {
+ hostgroup_name nomail
+ alias No Mail
+ members *, {% for host in groups['bastion'] %}!{{host}}, {% endfor %}{% for host in groups['smtp-mm'] %}!{{host}}, {% endfor %}{% for host in vars['phx2_management_hosts'] %}!{{host}}{% if not loop.last %},{% endif %} {% endfor %}