Fix a few more splits

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:28 -04:00
parent 95b47f8b09
commit 77be96bf6f
2 changed files with 5 additions and 5 deletions

View File

@ -7,9 +7,9 @@ ff02::1 ip6-allmodes
ff02::2 ip6-allrouters ff02::2 ip6-allrouters
{% for node in pvc_nodes %} {% for node in pvc_nodes %}
{{ node.cluster_ip }} {{ node.hostname.split('.')[0] }}.{{ pvc_cluster_domain }} {{ node.hostname.split('.')[0] }} {{ node.cluster_ip }} {{ node.hostname }}.{{ pvc_cluster_domain }} {{ node.hostname }}
{{ node.storage_ip }} {{ node.hostname.split('.')[0] }}.{{ pvc_storage_domain }} {{ node.storage_ip }} {{ node.hostname }}.{{ pvc_storage_domain }}
{{ node.upstream_ip }} {{ node.hostname.split('.')[0] }}.{{ local_domain }} {{ node.upstream_ip }} {{ node.hostname }}.{{ local_domain }}
{% endfor %} {% endfor %}
{% if hosts is defined and hosts %} {% if hosts is defined and hosts %}

View File

@ -5,7 +5,7 @@ pvc:
debug: False debug: False
coordinators: coordinators:
{% for node in pvc_nodes if node.is_coordinator %} {% for node in pvc_nodes if node.is_coordinator %}
- {{ node.hostname.split('.')[0] }} - {{ node.hostname }}
{% endfor %} {% endfor %}
# api: Configuration of the API listener # api: Configuration of the API listener
api: api:
@ -69,7 +69,7 @@ pvc:
# uses the list of coordinators # uses the list of coordinators
storage_hosts: storage_hosts:
{% for node in pvc_nodes if node.is_coordinator %} {% for node in pvc_nodes if node.is_coordinator %}
- {{ node.hostname.split('.')[0] }} - {{ node.hostname }}
{% endfor %} {% endfor %}
# storage_domain: The storage domain name, concatenated with the coordinators list names # storage_domain: The storage domain name, concatenated with the coordinators list names
# to form monitor access strings # to form monitor access strings