WIP
Guillaume Coré
2019-02-20 4c696fdeef27fade70564bcf3420309ad9d763cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[GenericExample:vars]
 
###########################################################################
### Ansible Vars
###########################################################################
timeout=60
ansible_become=yes
ansible_user={{remote_user}}
 
 
[GenericExample:children]
towers
support
 
[towers]
## These are the towers
{% for host in groups['towers'] %}
{{ hostvars[host].internaldns }} public_host_name={{ hostvars[host].shortname }}.{{ guid }}{{subdomain_base_suffix}} ssh_host={{host}}
{% endfor %}
 
## These are the supporthosts
[support]
{% for host in groups['support'] %}
{{ hostvars[host].internaldns }} ssh_host={{host}}
{% endfor %}