Remove extraneous splits
The node.hostname should always be short.
This commit is contained in:
parent
d24cb8a8ef
commit
87803cb7a2
|
@ -2,7 +2,7 @@
|
||||||
# pvcnoded configuration
|
# pvcnoded configuration
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
pvc:
|
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
|
debug: False
|
||||||
functions:
|
functions:
|
||||||
|
@ -13,7 +13,7 @@ pvc:
|
||||||
cluster:
|
cluster:
|
||||||
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 %}
|
||||||
networks:
|
networks:
|
||||||
upstream:
|
upstream:
|
||||||
|
|
Loading…
Reference in New Issue