mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 01:10:07 +08:00
Merge branch 'master' of /git/ansible
This commit is contained in:
@@ -415,6 +415,8 @@ buildppcle
|
||||
buildarm
|
||||
buildaarch64
|
||||
buildvm-s390
|
||||
buildvm-s390x
|
||||
bkernel
|
||||
|
||||
[builders-stg:children]
|
||||
buildarm-stg
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
{% for host in groups['all'] %}
|
||||
{% if hostvars[host].datacenter == 'staging' %}
|
||||
define host {
|
||||
{% if hostvars[host].nagios_Check_Services['nrpe'] == true %}
|
||||
use defaulttemplate
|
||||
{% else %}
|
||||
use mincheck
|
||||
{% endif %}
|
||||
host_name {{ host }}
|
||||
{% if hostvars[host].ansible_hostname is defined %}
|
||||
alias {{ hostvars[host].ansible_hostname }}
|
||||
|
||||
Reference in New Issue
Block a user