7 lines
220 B
Django/Jinja
7 lines
220 B
Django/Jinja
127.0.0.1 localhost
|
|
{% for host in groups['pve-nodes'] %}
|
|
{{ hostvars[host]['ansible_default_ipv4']['address'] }} {{ host }} {{ host }}.lan.xbazzi.com
|
|
{{ hostvars[host]['cluster_ip'] }} {{ host }}-cluster
|
|
{% endfor %}
|
|
|