openstack-ansible-rabbitmq_.../templates/rabbitmq.config.j2
git-harry cadd8ff635 Remove clustering config from rabbitmq.config
Remove cluster formation configuration from rabbitmq.config. Cluster
formation is managed by the task files in the role, see
tasks/rabbitmq_cluster.yml for details. The entries in the config
template are unnecessary and I believe they may be causing clustering
failures when the clustering tasks run.

Remove testing for cluster configuration in rabbitmq.config.

Change-Id: Ia65da05a5c967965143e8167657688d6906ad1f0
2016-03-29 12:19:27 +01:00

16 lines
640 B
Django/Jinja

[
{rabbit, [
{loopback_users, []},
{ssl_listeners, [5671]},
{ssl_options, [{certfile,"{{ rabbitmq_ssl_cert }}"},
{keyfile,"{{ rabbitmq_ssl_key }}"},
{% if rabbitmq_user_ssl_ca_cert is defined -%}
{cacertfile,"{{ rabbitmq_ssl_ca_cert }}"},
{% endif -%}
{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 %}
]}
].