ansible.builtin.rabbitmq_plugin (v2.3.3.0-1) — module

Adds or removes plugins to RabbitMQ

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

Authors: "Chris Hoffman (@chrishoffman)"

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.3.3.0.post1

Description

Enables or disables RabbitMQ plugins

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Enables the rabbitmq_management plugin
- rabbitmq_plugin:
    names: rabbitmq_management
    state: enabled

Inputs

    
names:
    aliases:
    - name
    default: null
    description:
    - Comma-separated list of plugin names
    required: true

state:
    choices:
    - enabled
    - disabled
    default: enabled
    description:
    - Specify if plugins are to be enabled or disabled
    required: false

prefix:
    default: null
    description:
    - Specify a custom install prefix to a Rabbit
    required: false
    version_added: '1.3'
    version_added_collection: ansible.builtin

new_only:
    choices:
    - 'yes'
    - 'no'
    default: 'no'
    description:
    - Only enable missing plugins
    - Does not disable plugins that are not in the names list
    required: false