and we put some virthosts into the staging environment but only for mincheck

This commit is contained in:
Stephen Smoogen 2017-01-10 19:18:31 +00:00
parent 544a4e434c
commit a5b6a4cfcd
2 changed files with 66 additions and 1 deletions

View file

@ -5,7 +5,7 @@
define host {
host_name phx2-gw
alias PHX2 Router
use defaulttemplate
use mincheck
check_command check-host-alive
address 10.5.126.254
}

View file

@ -27,6 +27,71 @@ define host {
{% endif %}
{% endfor %}
## Staging virthosts
# 'virthost-comm04.qa.fedoraproject.org'
# 'virthost04.phx2.fedoraproject.org'
# 'virthost11.phx2.fedoraproject.org'
# 'virthost12.phx2.fedoraproject.org'
# 'virthost16.phx2.fedoraproject.org'
# 'virthost20.phx2.fedoraproject.org'
define host {
host_name virthost-comm04.qa.fedoraproject.org
alias virthost-comm04.qa.fedoraproject.org
use mincheck
check_command check-host-alive
address 10.5.131.10
parents phx2-gw
}
define host {
host_name virthost04.phx2.fedoraproject.org
alias virthost04.phx2.fedoraproject.org
use mincheck
check_command check-host-alive
address 10.5.126.144
parents phx2-gw
}
define host {
host_name virthost11.phx2.fedoraproject.org
alias virthost11.phx2.fedoraproject.org
use mincheck
check_command check-host-alive
address 10.5.126.104
parents phx2-gw
}
define host {
host_name virthost12.phx2.fedoraproject.org
alias virthost12.phx2.fedoraproject.org
use mincheck
check_command check-host-alive
address 10.5.126.152
parents phx2-gw
}
define host {
host_name virthost16.phx2.fedoraproject.org
alias virthost16.phx2.fedoraproject.org
use mincheck
check_command check-host-alive
address 10.5.126.156
parents phx2-gw
}
define host {
host_name virthost20.phx2.fedoraproject.org
alias virthost20.phx2.fedoraproject.org
use mincheck
check_command check-host-alive
address 10.5.126.160
parents phx2-gw
}
{% else %}
{% for host in groups['all'] %}
{% if hostvars[host].datacenter == 'phx2' %}