Add support for arbitrary /etc/hosts entries

This commit is contained in:
2023-09-01 15:42:21 -04:00
parent f98a2ee433
commit 7e74ce2ede
2 changed files with 11 additions and 0 deletions

View File

@ -10,3 +10,9 @@ ff02::2 ip6-allrouters
{{ node.cluster_ip }} {{ node.hostname }}.{{ pvc_cluster_domain }} {{ node.hostname }}
{{ node.storage_ip }} {{ node.hostname }}.{{ pvc_storage_domain }}
{% endfor %}
{% if hosts is defined %}
{% for host in hosts %}
{{ host.ip }} {{ host.name }}
{% endfor %}
{% endif %}