mirror of
https://github.com/rocky-linux/ansible-role-rabbitmq.git
synced 2024-12-04 18:36:26 +00:00
LDAP needs to use starttls
This commit is contained in:
parent
f1052e2e03
commit
f9dc4e0693
@ -37,3 +37,4 @@ rabbitmq_plugins:
|
|||||||
|
|
||||||
# Enable the public pubsub or not
|
# Enable the public pubsub or not
|
||||||
rabbitmq_enable_public: false
|
rabbitmq_enable_public: false
|
||||||
|
#pubsub_federation_pass: ...
|
||||||
|
@ -40,10 +40,12 @@
|
|||||||
community.rabbitmq.rabbitmq_parameter:
|
community.rabbitmq.rabbitmq_parameter:
|
||||||
component: "federation-upstream"
|
component: "federation-upstream"
|
||||||
name: "pubsub-to-public_pubsub"
|
name: "pubsub-to-public_pubsub"
|
||||||
value: 'novalue'
|
value: '{"uri": "amqps://pubsub_federation:{{ pubsub_federation_pass }}@{{ rabbitmq_cluster_list[0] }}/%2Fpubsub", "ack-mode": "on-confirm"}'
|
||||||
state: present
|
state: present
|
||||||
vhost: /public_pubsub
|
vhost: /public_pubsub
|
||||||
when: rabbitmq_enable_public
|
when:
|
||||||
|
- rabbitmq_enable_public
|
||||||
|
- pubsub_federation_pass
|
||||||
|
|
||||||
- name: Configure a policy to federate the topic exchange to public
|
- name: Configure a policy to federate the topic exchange to public
|
||||||
run_once: true
|
run_once: true
|
||||||
@ -56,4 +58,6 @@
|
|||||||
tags:
|
tags:
|
||||||
federation-upstream: "pubsub-to-public_pubsub"
|
federation-upstream: "pubsub-to-public_pubsub"
|
||||||
vhost: /public_pubsub
|
vhost: /public_pubsub
|
||||||
when: rabbitmq_enable_public
|
when:
|
||||||
|
- rabbitmq_enable_public
|
||||||
|
- pubsub_federation_pass
|
||||||
|
@ -30,6 +30,9 @@ auth_ldap.dn_lookup_bind.password = {{ rocky_ldap_bind_pw }}
|
|||||||
auth_ldap.dn_lookup_attribute = uid
|
auth_ldap.dn_lookup_attribute = uid
|
||||||
auth_ldap.dn_lookup_base = {{ rocky_ldap_account_basedn }}
|
auth_ldap.dn_lookup_base = {{ rocky_ldap_account_basedn }}
|
||||||
auth_ldap.port = 389
|
auth_ldap.port = 389
|
||||||
|
auth_ldap.connection_pool_size = 256
|
||||||
|
auth_ldap.idle_timeout = 120000
|
||||||
|
auth_ldap.use_starttls = true
|
||||||
{% for ldapsrv in rabbitmq_ldap_servers %}
|
{% for ldapsrv in rabbitmq_ldap_servers %}
|
||||||
auth_ldap.servers.{{ loop.index }} = {{ ldapsrv }}
|
auth_ldap.servers.{{ loop.index }} = {{ ldapsrv }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user