as we empty groups of hosts in phx2, we need to add them to the exclude_phx2_internal

This commit is contained in:
Stephen Smoogen 2020-06-08 16:19:49 -04:00
parent 56caf84ce5
commit 9836838b94
3 changed files with 16 additions and 3 deletions

View file

@ -132,7 +132,7 @@ iad2_external:
# to add that group to this list. Other items on this list are ones
# where it is an enormous group not needed.
# Exclude these ansible host groups in hostgroups/all.cfg
exclude_hostgroups:
exclude_phx2_hostgroups:
- nixnagios
- dbgserver_stg
- virt_guest
@ -144,3 +144,16 @@ exclude_hostgroups:
- datacenter_iad2
- buildvm_ppc64le_iad2
- sign_vault
- bugzilla2fedmsg
- github2fedmsg
- moksha_hubs
- rabbitmq
exclude_iad2_hostgroups:
- nixnagios
- dbgserver_stg
- virt_guest
- virt_host
- iad2
- openqa_iad
- sign_vault

View file

@ -3,7 +3,7 @@
###############
## {{ env }}
{% for key, value in groups.items()|sort %}
{% if groups[key] != [] and key not in vars['exclude_hostgroups'] %}
{% if groups[key] != [] and key not in vars['exclude_iad2_hostgroups'] %}
define hostgroup{
hostgroup_name {{ key }}
alias {{ key }}

View file

@ -3,7 +3,7 @@
###############
## {{ env }}
{% for key, value in groups.items()|sort %}
{% if groups[key] != [] and key not in vars['exclude_hostgroups'] %}
{% if groups[key] != [] and key not in vars['exclude_phx2_hostgroups'] %}
define hostgroup{
hostgroup_name {{ key }}
alias {{ key }}