ok I think I worked out my logic
This commit is contained in:
parent
49c7679cc0
commit
a2b429fdc1
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
define hostgroup {
|
define hostgroup {
|
||||||
hostgroup_name nomail
|
hostgroup_name nomail
|
||||||
alias No Mail
|
alias No Mail
|
||||||
members *, {% for host in groups['bastion'] %}!{{host}}, {% endfor %}{% for host in groups['smtp-mm'] %}!{{host}}, {% endfor %} {% for host in groups['builders'] %}!{{host}},{% endfor %} {% for host in groups['builders-stg'] %}!{{host}},{% endfor %} {% for host in vars['phx2_management_limited'] %}!{{host}},{% endfor %} {% for host in vars['phx2_management_hosts'] %}!{{host}}{% if not loop.last %},{% endif %} {% endfor %}
|
members *, {% for host in groups['bastion'] %}!{{host}}, {% endfor %}{% for host in groups['smtp-mm'] %}!{{host}}, {% endfor %} {% for host in groups['builders'] %}!{{host}},{% endfor %} {% for host in groups['builders-stg'] %}!{{host}},{% endfor %} {% for host in groups['cloud'] %}!{{host}}, {% endfor %} {% for host in vars['phx2_management_limited'] %}!{{host}},{% endfor %} {% for host in vars['phx2_management_hosts'] %}!{{host}}{% if not loop.last %},{% endif %} {% endfor %}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
define hostgroup {
|
define hostgroup {
|
||||||
hostgroup_name noswap
|
hostgroup_name noswap
|
||||||
alias No Swap
|
alias No Swap
|
||||||
members *, {% for host in vars['phx2_management_hosts'] %}!{{host}}, {%endfor %} {% for host in vars['phx2_management_limited'] %}!{{host}}, {%endfor %}{% for host in groups['twisted-buildbots'] %}!{{host}}, {% endfor %}{% for host in groups['persistent-cloud'] %}!{{host}}, {% endfor %}{% for host in groups['copr-dist-git'] %}!{{host}}, {% endfor %}{% for host in groups['jenkins-master'] %}!{{host}}, {% endfor %}{% for host in groups['maintainer-test'] %}!{{host}}, {% endfor %}{% for host in groups['copr'] %}!{{host}}, {% endfor %}{% for host in groups['copr-dist-git-stg'] %}!{{host}}, {% endfor %}{% for host in groups['jenkins-slave'] %}!{{host}}, {% endfor %}{% for host in groups['ipsilon-dev'] %}!{{host}}, {% endfor %}{% for host in groups['copr-stg'] %}!{{host}} {% if not loop.last %},{% endif %} {% endfor %}
|
members *, {% for host in groups['builders'] %}!{{host}},{% endfor %} {% for host in groups['builders-stg'] %}!{{host}},{% endfor %} {% for host in groups['cloud'] %}!{{host}}, {% endfor %} {% for host in vars['phx2_management_limited'] %}!{{host}},{% endfor %} {% for host in vars['phx2_management_hosts'] %}!{{host}}{% if not loop.last %},{% endif %} {% endfor %}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue