additional course material RH294
Olaf Bohlen
2020-02-19 08669995dd66a7051d2fc222fec02a0bc71c1dff
commit | author | age
97d9af 1 # template for /etc/hosts
SU 2 {% for host in groups['all'] %}
26d781 3 {{ hostvars[host]['ansible_facts']['default_ipv4']['address'] }} {{ hostvars[host]['ansible_facts']['fqdn'] }} {{ hostvars[host]['ansible_facts']['hostname'] }}
SU 4 {% endfor %}