Add some more hostgroups to excludes and extract the list out to group_vars/nagios
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
136d2277a2
commit
6cfe3f18f0
2 changed files with 10 additions and 1 deletions
|
@ -151,3 +151,12 @@ phx2_external:
|
|||
- retrace01.fedoraproject.org
|
||||
- secondary01.fedoraproject.org
|
||||
- stg.fedoraproject.org
|
||||
|
||||
# Exclude these ansible host groups in hostgroups/all.cfg
|
||||
exclude_hostgroups:
|
||||
- nixnagios
|
||||
- rhel8beta
|
||||
- dbgserver_stg
|
||||
- copr_keygen_dev_aws
|
||||
- retrace_stg
|
||||
- retrace_stg_aws
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
###############
|
||||
## {{ env }}
|
||||
{% for key, value in groups.iteritems()|sort %}
|
||||
{% if groups[key] != [] and key not in ['nixnagios', 'rhel8beta','dbgserver_stg'] %}
|
||||
{% if groups[key] != [] and key not in vars['exclude_hostgroups'] %}
|
||||
define hostgroup{
|
||||
hostgroup_name {{ key }}
|
||||
alias {{ key }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue