sborenst
2017-11-15 e21e0a79986212015dd93cffbab56f5251c74560
fixed name of ad host
2 files modified
8 ■■■■ changed files
ansible/configs/ans-tower-lab/env_vars.yml 6 ●●●● patch | view | raw | blame | history
ansible/configs/ans-tower-lab/files/hosts_template.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/ans-tower-lab/env_vars.yml
@@ -256,9 +256,9 @@
#tower_public_dns: "tower.{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
activedirectory_public_dns: "ad.{{subdomain_base}}."
activedirectory_public_dns_chomped: "ad.{{subdomain_base}}"
# we don't use this anymore <sborenst>
# activedirectory_public_dns: "ad.{{subdomain_base}}."
# activedirectory_public_dns_chomped: "ad.{{subdomain_base}}"
vpcid_cidr_block: "192.168.0.0/16"
vpcid_name_tag: "{{subdomain_base}}"
ansible/configs/ans-tower-lab/files/hosts_template.j2
@@ -43,7 +43,7 @@
[windows]
## These are the activedirectory servers
{% for host in groups['activedirectories'] %}
activedirectory{{loop.index}}.{{chomped_zone_internal_dns}} ssh_host={{host}} ansible_password={{hostvars[host]['ansible_password']}}
activedirectory{{loop.index}}.{{chomped_zone_internal_dns}} ssh_host=activedirectory{{loop.index}}.{{subdomain_base}} ansible_password={{hostvars[host]['ansible_password']}}
{% endfor %}