and will this work.. who knows. the shadow knows

This commit is contained in:
Stephen Smoogen 2017-01-08 22:26:15 +00:00
parent 7901424470
commit 858b3f5140
15 changed files with 13 additions and 24 deletions

View file

@ -272,7 +272,6 @@
- resultsdb.cfg
- retrace.cfg
- servers.cfg
- smtp-mm.cfg
- statscache.cfg
- summershum.cfg
- sundries.cfg

View file

@ -1,10 +0,0 @@
##############
# Smtp Servers
###############
define hostgroup {
hostgroup_name smtp-mm
alias smtp-mm
members {% for host in groups['smtp-mm'] %}{{host}}{% if not loop.last %},{% endif %} {% endfor %}
}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'bodhost' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'cloud' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'coloamer' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'dedicatedsolutions' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'host1plus' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'ibiblio' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'internetx' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'osuosl' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'phx2' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'rdu-cc' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'rdu' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}

View file

@ -2,7 +2,7 @@
{% if hostvars[host].datacenter == 'tummy' %}
define host {
use defaulttemplate
host_name {{ host }}
host_name {{ hostvars[host].short_hostname }}
{% if hostvars[host].ansible_hostname is defined %}
alias {{ hostvars[host].ansible_hostname }}
{% else %}