this will all end in tears
This commit is contained in:
parent
4850596277
commit
5dd3907687
2 changed files with 6 additions and 6 deletions
|
@ -1,9 +1,9 @@
|
|||
define hostgroup {
|
||||
hostgroup_name pgbdr
|
||||
alias PGBDR servers
|
||||
members {% for host in groups['pgbdr'] %}{{host}}{% if not loop.last %},{% endif %} {% endfor %}
|
||||
# define hostgroup {
|
||||
# hostgroup_name pgbdr
|
||||
# alias PGBDR servers
|
||||
# members {% for host in groups['pgbdr'] %}{{host}}{% if not loop.last %},{% endif %} {% endfor %}
|
||||
|
||||
}
|
||||
# }
|
||||
|
||||
define hostgroup {
|
||||
hostgroup_name pgbdr-stg
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% for host in groups['all'] %}
|
||||
{% if hostvars[host].datacenter == 'cloud' %}
|
||||
{% if hostvars[host].datacenter == 'cloud' || hostvars[host].datacenter == 'fedorainfracloud' %}
|
||||
define host {
|
||||
use defaulttemplate
|
||||
host_name {{ host }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue