servers/roles/ceph/templates/hosts.j2
Timotej Lazar ce7903e43a ceph: improve cluster setup
Remove separate NetBox lookups. Explicitly allow connections between
cluster nodes. Tigthen temporary allowed IPv6 ranges.
2024-03-01 08:45:51 +01:00

11 lines
269 B
Django/Jinja

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
{% for node in nodes %}
{% for address in node|device_address %}
{{ address.address | ipaddr('address') }} {{ node.inventory_hostname }}
{% endfor %}
{% endfor %}