Ignore newcloud-undercloud and make the check here look a little prettier

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2018-07-20 23:34:52 +00:00
parent 173cf3a7d2
commit 8098ce7fe9

View file

@ -3,7 +3,7 @@
###############
## {{ env }}
{% for key, value in groups.iteritems()|sort %}
{% if groups[key] != [] and key != 'newcloud-compute' and key != 'newcloud-control' and key != 'newcloud' and key != 'nixnagios' %}
{% if groups[key] != [] and key not in ['newcloud-compute', 'newcloud-control', 'newcloud-undercloud', 'newcloud', 'nixnagios'] %}
define hostgroup{
hostgroup_name {{ key }}
alias {{ key }}