community / community.general / 0.1.1 / module / rabbitmq_plugin Manage RabbitMQ plugins Authors: Chris Hoffman (@chrishoffman) preview | supported by communitycommunity.general.rabbitmq_plugin (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
This module can be used to enable or disable RabbitMQ plugins.
- name: Enables the rabbitmq_management plugin rabbitmq_plugin: names: rabbitmq_management state: enabled
- name: Enable multiple rabbitmq plugins rabbitmq_plugin: names: rabbitmq_management,rabbitmq_management_visualiser state: enabled
- name: Disable plugin rabbitmq_plugin: names: rabbitmq_management state: disabled
- name: Enable every plugin in list with existing plugins rabbitmq_plugin: names: rabbitmq_management,rabbitmq_management_visualiser,rabbitmq_shovel,rabbitmq_shovel_management state: enabled new_only: 'yes'
names: aliases: - name description: - Comma-separated list of plugin names. Also, accepts plugin name. required: true state: choices: - enabled - disabled default: enabled description: - Specify if plugins are to be enabled or disabled. prefix: description: - Specify a custom install prefix to a Rabbit. new_only: default: 'no' description: - Only enable missing plugins. - Does not disable plugins that are not in the names list. type: bool
disabled: description: list of plugins disabled during task run returned: always sample: - rabbitmq_management type: list enabled: description: list of plugins enabled during task run returned: always sample: - rabbitmq_management type: list