Fix a few more splits

This commit is contained in:
Joshua Boniface 2021-11-11 17:37:27 -05:00
parent 414678f683
commit bb3b7e3922
2 changed files with 5 additions and 5 deletions

View File

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

View File

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