community.general.rabbitmq_parameter (0.1.1) — module

Manage RabbitMQ parameters

Authors: Chris Hoffman (@chrishoffman)

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

Description

Manage dynamic, cluster-wide parameters for RabbitMQ

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Set the federation parameter 'local_username' to a value of 'guest' (in quotes)
- rabbitmq_parameter:
    component: federation
    name: local-username
    value: '"guest"'
    state: present

Inputs

    
name:
    description:
    - Name of the parameter being set
    required: true

node:
    default: rabbit
    description:
    - erlang node name of the rabbit we wish to configure

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Specify if user is to be added or removed

value:
    description:
    - Value of the parameter, as a JSON term

vhost:
    default: /
    description:
    - vhost to apply access privileges.

component:
    description:
    - Name of the component of which the parameter is being set
    required: true