This commit is contained in:
nazunalika 2021-01-23 02:58:46 -07:00
parent 9a99b6ae63
commit b9f20e7991
1 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,12 @@
name: rabbitmq-server
state: present
- name: Enable SELinux boolean
ansible.posix.seboolean:
name: nis_enabled
persistent: true
state: true
- name: Deploy RabbitMQ configuration
template:
src: "etc/rabbitmq/{{ item }}.j2"
@ -46,7 +52,7 @@
# We are doing it the command line way
- name: Enable RabbitMQ Plugins
shell: "set -o pipefail && rabbitmq-plugins {{ rabbitmq_plugins | join(' ') }}"
shell: "set -o pipefail && rabbitmq-plugins enable {{ rabbitmq_plugins | join(' ') }}"
changed_when: "1 != 1"
- name: Open applicable firewall rules