New in version 2.4.
parameter | required | default | choices | comments |
---|---|---|---|---|
names |
yes |
Comma-separated list of plugin names.
aliases: name
|
||
new_only |
no | no |
|
Only enable missing plugins.
Does not disable plugins that are not in the names list.
|
prefix |
no |
Specify a custom install prefix to a Rabbit.
|
||
state |
no | enabled |
|
Specify if plugins are to be enabled or disabled.
|
- name: Enables the rabbitmq_management plugin win_rabbitmq_plugin: names: rabbitmq_management state: enabled
Common return values are documented here Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
disabled |
list of plugins disabled during task run
|
always | list | ['rabbitmq_management'] |
enabled |
list of plugins enabled during task run
|
always | list | ['rabbitmq_management'] |
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.