mirror of
https://github.com/rocky-linux/ansible-role-rabbitmq.git
synced 2024-12-04 18:36:26 +00:00
fixes
This commit is contained in:
parent
71606625a4
commit
2c2021f6b6
@ -8,7 +8,7 @@
|
||||
- name: Deploy RabbitMQ configuration
|
||||
template:
|
||||
src: "etc/rabbitmq/{{ item }}.j2"
|
||||
dest: "etc/rabbitmq/{{ item }}"
|
||||
dest: "/etc/rabbitmq/{{ item }}"
|
||||
owner: rabbitmq
|
||||
group: rabbitmq
|
||||
mode: '0644'
|
||||
@ -42,7 +42,7 @@
|
||||
mode: '0644'
|
||||
content: |
|
||||
[Service]
|
||||
LimitNOFILE={{ rabbitmq_cluster_file_limit }}
|
||||
LimitNOFILE={{ rabbitmq_file_limit }}
|
||||
|
||||
- name: Enable RabbitMQ Plugins
|
||||
community.rabbitmq.rabbitmq_plugin:
|
||||
|
@ -17,7 +17,7 @@
|
||||
read_priv: ".*"
|
||||
write_priv: ".*"
|
||||
tags: administrator
|
||||
when: inventory_hostname.startswith('rabbitmq01')
|
||||
when: "'rabbitmq001' in inventory_hostname"
|
||||
with_items:
|
||||
- /
|
||||
- /pubsub
|
||||
@ -56,6 +56,6 @@
|
||||
write_priv: "^$"
|
||||
tags: monitoring
|
||||
when:
|
||||
- inventory_hostname.startswith('rabbitmq01')
|
||||
- "'rabbitmq001' in inventory_hostname"
|
||||
- rabbitmq_monitoring_username
|
||||
- rabbitmq_monitoring_password
|
||||
|
@ -6,9 +6,9 @@ num_acceptors.ssl = 10
|
||||
|
||||
reverse_dns_lookups = true
|
||||
|
||||
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"
|
||||
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"
|
||||
|
||||
ssl_options.verify = verify_peer
|
||||
ssl_options.fail_if_no_peer_cert = false
|
||||
|
Loading…
Reference in New Issue
Block a user