Skip to content

Commit

Permalink
rhsso group into auth-playground bastion hosts file
Browse files Browse the repository at this point in the history
  • Loading branch information
sborenst committed Oct 30, 2017
1 parent d74399c commit f0fa13b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/configs/auth-playground-lab/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ satellite_activationkey: "rhel7basic"
You can run the playbook with the following arguments to overwrite the default variable values:
[source,bash]
----
REGION=ap-southeast-2
REGION=us-east-1
KEYNAME=ocpkey
GUID=authplay5
GUID=authtest1
ENVTYPE="auth-playground-lab"
CLOUDPROVIDER=ec2
HOSTZONEID='Z3IHLWJZOU9SRT'
Expand Down
6 changes: 6 additions & 0 deletions ansible/configs/auth-playground-lab/files/hosts_template.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ ipa{{loop.index}}.{{chomped_zone_internal_dns}} public_host_name=ipa{{loop.index
windows{{loop.index}}.{{chomped_zone_internal_dns}} ssh_host={{host}} ansible_password={{hostvars[host]['ansible_password']}}
{% endfor %}

[rhssos]
## These are the rhssos servers
{% for host in groups['rhssos'] %}
rhsso{{loop.index}}.{{chomped_zone_internal_dns}} public_host_name=ipa{{loop.index}}.{{ guid }}{{subdomain_base_suffix}} ssh_host={{host}}
{% endfor %}


[windows:vars]
ansible_connection=winrm
Expand Down

0 comments on commit f0fa13b

Please sign in to comment.