community.windows.win_rabbitmq_plugin (2.2.0) — module

Manage RabbitMQ plugins

Authors: Artem Zinenko (@ar7z1)

Install collection

Install with ansible-galaxy collection install community.windows:==2.2.0


Add to requirements.yml

  collections:
    - name: community.windows
      version: 2.2.0

Description

Manage RabbitMQ plugins.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enables the rabbitmq_management plugin
  community.windows.win_rabbitmq_plugin:
    names: rabbitmq_management
    state: enabled

Inputs

    
names:
    aliases:
    - name
    description:
    - Comma-separated list of plugin names.
    required: true
    type: str

state:
    choices:
    - disabled
    - enabled
    default: enabled
    description:
    - Specify if plugins are to be enabled or disabled.
    type: str

prefix:
    description:
    - Specify a custom install prefix to a Rabbit.
    type: str

new_only:
    default: false
    description:
    - Only enable missing plugins.
    - Does not disable plugins that are not in the names list.
    type: bool

Outputs

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