dashboard
repositories
filestore
activity
search
login
RedHatTraining
/
agnosticd
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
Merge branch '1024' of github.com:RedHatTraining/agnosticd into joel-test
joelbirchler
2020-02-17
69dbaafbb88bdf8c03eb88d743ebe908e670cc0e
[RedHatTraining/agnosticd.git]
/
ansible
/
roles
/
skylight-ansible-tower
/
templates
/
ansible-hosts.j2
1
2
3
4
5
6
7
{% for item in groups %}
[{{item}}]
{% for entry in groups[item] %}
{{ entry }} ansible_ssh_host={{hostvars[entry]["ansible_ssh_host"]}} ansible_ssh_port={{hostvars[entry]["ansible_ssh_port"]|default("22")}} ansible_ssh_user={{hostvars[entry]["ansible_ssh_user"]}} ansible_ssh_pass={{hostvars[entry]["ansible_ssh_pass"]}} ansible_ssh_connection={{hostvars[entry]["ansible_ssh_connection"]}}
{% endfor %}
{% endfor %}