mirror of
https://gitea.0xace.cc/ansible-galaxy/rabbitmq.git
synced 2024-11-25 08:16:43 +00:00
22 lines
601 B
YAML
22 lines
601 B
YAML
---
|
|
- name: Install rabbitmq plugins
|
|
get_url:
|
|
url: "{{ item.url }}"
|
|
dest: "{{ rabbitmq_plugin_dir }}"
|
|
with_items: "{{ rabbitmq_plugins }}"
|
|
when: item.url is defined
|
|
|
|
- name: Disable rabbitmq plugins
|
|
rabbitmq_plugin:
|
|
names: "{{ rabbitmq_plugins_disabled | join(',') }}"
|
|
state: disabled
|
|
|
|
- name: Set enabled rabbitmq plugins
|
|
set_fact:
|
|
rabbitmq_plugins_enabled: "{{ rabbitmq_plugins_enabled + [ item.name | default(item) ] }}"
|
|
with_items: "{{ rabbitmq_plugins }}"
|
|
|
|
- name: Enable rabbitmq plugins
|
|
rabbitmq_plugin:
|
|
names: "{{ rabbitmq_plugins_enabled | join(',') }}"
|