additional course material RH294
Student User
2019-12-04 97d9af6275244e31f05c2916fc72a8daa9ea9fa0
commit | author | age
97d9af 1 # template for /etc/hosts
SU 2 {% for host in groups['all'] %}
3 {{ hostvars['host']['ansible_facts'] }}
4 {# {{ hostvars['host']['ansible_facts']['default_ipv4']['address'] }} {{ hostvars['host']['ansible_facts']['fqdn'] }} {{ hostvars['host']['ansible_facts']['hostname'] }} #}
5 {% endfor %}