mirror of
https://github.com/rocky-linux/ansible-role-rabbitmq.git
synced 2024-12-04 18:36:26 +00:00
basics
This commit is contained in:
parent
b9f20e7991
commit
f67b187175
@ -21,6 +21,8 @@
|
||||
loop:
|
||||
- rabbitmq.conf
|
||||
- rabbitmq-env.conf
|
||||
notify:
|
||||
- restart_rabbitmq
|
||||
|
||||
- name: Deploy erlang cookie
|
||||
copy:
|
||||
@ -52,9 +54,17 @@
|
||||
|
||||
# We are doing it the command line way
|
||||
- name: Enable RabbitMQ Plugins
|
||||
shell: "set -o pipefail && rabbitmq-plugins enable {{ rabbitmq_plugins | join(' ') }}"
|
||||
command: "rabbitmq-plugins enable {{ rabbitmq_plugins | join(' ') }}"
|
||||
changed_when: "1 != 1"
|
||||
|
||||
- name: Ensure file ownership for plugins
|
||||
file:
|
||||
path: /etc/rabbitmq/enabled_plugins
|
||||
owner: rabbitmq
|
||||
group: rabbitmq
|
||||
mode: '0644'
|
||||
state: file
|
||||
|
||||
- name: Open applicable firewall rules
|
||||
ansible.posix.firewalld:
|
||||
port: "{{ item }}"
|
||||
|
Loading…
Reference in New Issue
Block a user