diff --git a/templates/rabbitmq.config.j2 b/templates/rabbitmq.config.j2 index 039f40d8..ad277d80 100644 --- a/templates/rabbitmq.config.j2 +++ b/templates/rabbitmq.config.j2 @@ -10,9 +10,6 @@ {versions, ['tlsv1.2', 'tlsv1.1']}, {verify,verify_none}, {fail_if_no_peer_cert,false}]}, - {% if rabbitmq_cluster_partition_handling != 'ignore' %}{cluster_partition_handling, {{ rabbitmq_cluster_partition_handling }}},{% endif %} - {cluster_nodes, { - [ {% for host in groups['rabbitmq_all'] %}'rabbit@{{ hostvars[host]['ansible_ssh_host'] }}'{% if not loop.last %}, {% endif %}{% endfor %}], disc} - } + {% if rabbitmq_cluster_partition_handling != 'ignore' %}{cluster_partition_handling, {{ rabbitmq_cluster_partition_handling }}}{% endif %} ]} ]. diff --git a/tests/test-functional.yml b/tests/test-functional.yml index 4eec0f35..7a399f76 100644 --- a/tests/test-functional.yml +++ b/tests/test-functional.yml @@ -47,9 +47,6 @@ assert: that: - "'rabbitmq_management' in enabled_plugins_contents" - - "'rabbit@10.100.100.101' in rabbitmq_config_contents" - - "'rabbit@10.100.100.102' in rabbitmq_config_contents" - - "'rabbit@10.100.100.103' in rabbitmq_config_contents" - name: Get status of rabbitmq command: rabbitmqctl status register: rabbitmqctl_status