2022-02-27 03:19:20 +00:00
|
|
|
---
|
|
|
|
# rabbitmq settings
|
|
|
|
rabbitmq_tls_ca_cert: "/etc/pki/tls/certs/ca-bundle.crt"
|
|
|
|
rabbitmq_tls_cert: "/etc/pki/tls/certs/{{ ansible_fqdn }}.crt"
|
|
|
|
rabbitmq_tls_key: "/etc/pki/tls/private/{{ ansible_fqdn }}.key"
|
|
|
|
|
|
|
|
# These should be in a vault, with a different value. Generated by:
|
|
|
|
# dd if=/dev/urandom bs=30 count=1 | base64
|
|
|
|
# rabbitmq_cookie: ...
|
|
|
|
|
|
|
|
# Admin passwords - these should be in a vault
|
|
|
|
# rabbitmq_admin_password: ...
|
|
|
|
|
|
|
|
# rabbitmq cluster list and information should be defined in hostvars to ensure
|
|
|
|
# that the configuration is idempotent.
|
|
|
|
# rabbitmq_cluster_name:
|
|
|
|
# rabbitmq_env:
|
|
|
|
|
|
|
|
# Federation / Public Queues
|
|
|
|
rabbitmq_enable_public: false
|
|
|
|
# pubsub_federation_pass:
|
|
|
|
|
|
|
|
# THIS IS DYNAMIC. IT'S ADVISED IT NOT BE STATIC.
|
|
|
|
# This should be changed depending on how inventory is managed. For example, if
|
|
|
|
# it's not possible to have "staging inventory" as opposed to a "production"
|
|
|
|
# inventory, you would likely have a different name than just "rabbitmq". It is
|
|
|
|
# also possible there will be more than one cluster, so these must be taken
|
|
|
|
# into account when setting this variable.
|
|
|
|
rabbitmq_cluster_list: "{{ groups['rabbitmq'] }}"
|
|
|
|
rabbitmq_ldap_servers: "{{ rocky_ipaserver_list }}"
|
|
|
|
rabbitmq_ldap_bind_dn: "uid=rabbitmq_binder,cn=sysaccounts,cn=etc,dc=rockylinux,dc=org"
|
|
|
|
rabbitmq_ldap_bind_pw: "{{ rabbitmq_binder_password }}"
|
|
|
|
rabbitmq_ldap_basedn: "{{ rocky_ldap_account_basedn }}"
|
|
|
|
|
|
|
|
# Messaging queues are generally private
|
|
|
|
rabbitmq_private: true
|
|
|
|
ipa_getcert_requested_hostnames:
|
|
|
|
- name: "{{ ansible_fqdn }}"
|
|
|
|
owner: rabbitmq
|
|
|
|
key_location: "{{ rabbitmq_tls_key }}"
|
|
|
|
cert_location: "{{ rabbitmq_tls_cert }}"
|
|
|
|
postcmd: "/bin/systemctl restart rabbitmq-server"
|
|
|
|
cnames:
|
|
|
|
- "rabbitmq-{{ rabbitmq_env }}.rockylinux.org"
|
2023-07-15 07:10:52 +00:00
|
|
|
|
|
|
|
# Rabbitmq settings
|
|
|
|
rabbitmq_ports:
|
|
|
|
- 1883/tcp
|
|
|
|
- 4369/tcp
|
|
|
|
- 5671/tcp
|
|
|
|
- 5672/tcp
|
|
|
|
- 8883/tcp
|
|
|
|
- 15672/tcp
|
|
|
|
- 25672/tcp
|
|
|
|
- 35672-35682/tcp
|
2023-07-16 01:51:26 +00:00
|
|
|
|
|
|
|
# Rabbitmq plugins
|
|
|
|
rabbitmq_plugins:
|
|
|
|
- rabbitmq_amqp1_0
|
|
|
|
- rabbitmq_auth_backend_ldap
|
|
|
|
- rabbitmq_auth_mechanism_ssl
|
|
|
|
- rabbitmq_management
|
|
|
|
- rabbitmq_mqtt
|
|
|
|
- rabbitmq_federation
|
|
|
|
- rabbitmq_federation_management
|
|
|
|
- rabbitmq_peer_discovery_common
|
2022-02-27 03:19:20 +00:00
|
|
|
...
|