diff --git a/roles/core_install/templates/AddNodeFile.j2 b/roles/core_install/templates/AddNodeFile.j2 index cdbe23a9..8572f07b 100644 --- a/roles/core_install/templates/AddNodeFile.j2 +++ b/roles/core_install/templates/AddNodeFile.j2 @@ -1,4 +1,4 @@ {% for host in groups['scale_cluster_candidates'] | sort %} -{{ 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 %} {% endfor %}