ansible.builtin.win_rabbitmq_plugin (v2.9.27) — module

Manage RabbitMQ plugins

| "added in version" 2.4 of ansible.builtin"

Authors: Artem Zinenko (@ar7z1)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Manage RabbitMQ plugins.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enables the rabbitmq_management plugin
  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