fold fedorainfracloud datacenter into cloud and default to not checking cloud instances

This commit is contained in:
Kevin Fenzi 2017-05-01 23:20:01 +00:00
parent 5e394177e2
commit 0f1b625a37
5 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
---
datacenter: fedorainfracloud
datacenter: cloud
freezes: false
slaves:

View file

@ -1,5 +1,5 @@
---
datacenter: fedorainfracloud
datacenter: cloud
freezes: false
ansible_ifcfg_blacklist: true

View file

@ -1,3 +1,3 @@
---
freezes: false
datacenter: fedorainfracloud
datacenter: cloud

View file

@ -13,7 +13,7 @@ hostbase: artboard
public_ip: 209.132.184.61
root_auth_users: duffy
description: artboard server
datacenter: fedorainfracloud
datacenter: cloud
volumes:
- volume_id: 44956766-0ecb-496d-8d3c-f43e89b7f268

View file

@ -1,5 +1,5 @@
{% for host in groups['all'] %}
{% if hostvars[host].datacenter == 'cloud' or hostvars[host].datacenter == 'fedorainfracloud' %}
{% if hostvars[host].datacenter == 'cloud' and hostvars[host].nagios_Check_Services['nrpe'] == true %}
define host {
use mincheck
host_name {{ host }}