Parameter |
Choices/Defaults |
Comments |
---|---|---|
names
required |
|
Comma-separated list of plugin names.
aliases: name |
new_only
|
|
Only enable missing plugins.
Does not disable plugins that are not in the names list.
|
prefix
(added in 1.3) |
|
Specify a custom install prefix to a Rabbit.
|
state
|
|
Specify if plugins are to be enabled or disabled.
|
- name: Enables the rabbitmq_management plugin
rabbitmq_plugin:
names: rabbitmq_management
state: enabled
Common return values are documented here, the following are the fields unique to this module:
Key |
Returned |
Description |
---|---|---|
disabled
list
|
always |
list of plugins disabled during task run
Sample:
['rabbitmq_management']
|
enabled
list
|
always |
list of plugins enabled during task run
Sample:
['rabbitmq_management']
|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Hint
If you notice any issues in this documentation you can edit this document to improve it.