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

Manage RabbitMQ parameters

| "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.9.27

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
    version_added: '1.2'
    version_added_collection: ansible.builtin

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