mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 04:51:16 +08:00
add aarch64-test to cloud_aws group
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
f963dfa4d5
commit
8ea853e92b
@@ -58,6 +58,8 @@ f32-test.fedorainfracloud.org
|
||||
rawhide-test.fedorainfracloud.org
|
||||
el6-test.fedorainfracloud.org
|
||||
el7-test.fedorainfracloud.org
|
||||
aarch64-test01.fedorainfracloud.org
|
||||
aarch64-test02.fedorainfracloud.org
|
||||
# iddev
|
||||
iddev.fedorainfracloud.org
|
||||
# respins
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
define hostgroup {
|
||||
hostgroup_name CheckSwap
|
||||
alias Swap-Is-Low
|
||||
members {% for host in groups['all']|sort %}{% if hostvars[host].nagios_Check_Services['swap'] == true and hostvars[host].nagios_Check_Services['ping'] == true %}{{host}}{% if not loop.last %},{% endif %} {% endif %} {% endfor %}
|
||||
members {% for host in groups['all']|sort %}{% if hostvars[host].nagios_Check_Services['swap'] == true and hostvars[host].nagios_Can_Connect == true %}{{host}}{% if not loop.last %},{% endif %} {% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
define hostgroup {
|
||||
hostgroup_name vpnclients
|
||||
alias vpnclients
|
||||
members !bastion02.phx2.fedoraproject.org, {% for host in groups['all']|sort %}{% if ( hostvars[host].vpn == true ) and ( hostvars[host].nagios_Check_Services['ping'] == true ) %}{{host}},{% endif %} {% endfor %}
|
||||
members !bastion02.phx2.fedoraproject.org, {% for host in groups['all']|sort %}{% if ( hostvars[host].vpn == true ) and ( hostvars[host].nagios_Can_Connect == true ) %}{{host}},{% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% for host in groups['all']|sort %}
|
||||
{% if hostvars[host].datacenter == 'internetx' and hostvars[host].nagios_Check_Services['ping'] == true %}
|
||||
{% if hostvars[host].datacenter == 'internetx' and hostvars[host].nagios_Can_Connect == true %}
|
||||
define host {
|
||||
{% if vars['nagios_location'] == 'internal' %}
|
||||
use defaulttemplate
|
||||
|
||||
Reference in New Issue
Block a user