and will this work.. who knows. the shadow knows
This commit is contained in:
parent
7901424470
commit
858b3f5140
15 changed files with 13 additions and 24 deletions
|
@ -272,7 +272,6 @@
|
|||
- resultsdb.cfg
|
||||
- retrace.cfg
|
||||
- servers.cfg
|
||||
- smtp-mm.cfg
|
||||
- statscache.cfg
|
||||
- summershum.cfg
|
||||
- sundries.cfg
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
}
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue