I expect I am coming down with a cold from the number of silly mistakes today

This commit is contained in:
Stephen Smoogen 2017-01-10 18:42:57 +00:00
parent e29b677aad
commit 544a4e434c

View file

@ -8,7 +8,7 @@
define hostgroup{
hostgroup_name all
alias all
members {% for host in groups['all'] %}{% if (hostvars[host].env is defined) and (hostvars[host].env == 'staging') and (if hostvars[host].datacenter == 'phx2') %} {{host}}, {% endif %} {% endfor %}
members {% for host in groups['all'] %}{% if (hostvars[host].env is defined) and (hostvars[host].env == 'staging') and ( hostvars[host].datacenter == 'phx2') %}{{host}}, {% endif %} {% endfor %}
}