We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c6c053 commit 2d3e9aeCopy full SHA for 2d3e9ae
roles/core_install/templates/AddNodeFile.j2
@@ -1,4 +1,4 @@
1
{% for host in groups['scale_cluster_candidates'] | sort %}
2
-{{ hostvars[host].scale_daemon_nodename }}:nonquorum-client
+{{ hostvars[host].scale_daemon_nodename }}:{% if hostvars[host].scale_cluster_quorum | bool %}quorum{% else %}nonquorum{% endif %}-{% if hostvars[host].scale_cluster_manager | bool %}manager{% else %}client{% endif %}
3
4
{% endfor %}
0 commit comments