Remove extraneous splits

The node.hostname should always be short.
This commit is contained in:
Joshua Boniface 2023-09-01 15:42:28 -04:00
parent d24cb8a8ef
commit 87803cb7a2
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# pvcnoded configuration
# {{ ansible_managed }}
pvc:
node: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.hostname.split('.')[0] }}{% endfor %}
node: {% for node in pvc_nodes if node.hostname == this_node %}{{ node.hostname }}{% endfor %}
debug: False
functions:
@ -13,7 +13,7 @@ pvc:
cluster:
coordinators:
{% for node in pvc_nodes if node.is_coordinator %}
- {{ node.hostname.split('.')[0] }}
- {{ node.hostname }}
{% endfor %}
networks:
upstream: