add aarch64-test to cloud_aws group

This commit is contained in:
Stephen Smoogen 2020-02-26 22:32:36 +00:00 committed by Pierre-Yves Chibon
parent f963dfa4d5
commit 8ea853e92b
4 changed files with 5 additions and 3 deletions

View file

@ -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 %}
}

View file

@ -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 %}
}

View file

@ -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