community.rabbitmq.rabbitmq_parameter module – Manage RabbitMQ parameters
Note
This module is part of the community.rabbitmq collection (version 1.2.3).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.rabbitmq
.
To use it in a playbook, specify: community.rabbitmq.rabbitmq_parameter
.
Synopsis
Manage dynamic, cluster-wide parameters for RabbitMQ
Parameters
Parameter |
Comments |
---|---|
Name of the component of which the parameter is being set |
|
Name of the parameter being set |
|
erlang node name of the rabbit we wish to configure Default: |
|
Specify if parameter is to be added or removed Choices:
|
|
Value of the parameter, as a JSON term |
|
vhost to apply access privileges. Default: |
Examples
- name: Set the federation parameter 'local_username' to a value of 'guest' (in quotes)
community.rabbitmq.rabbitmq_parameter:
component: federation
name: local-username
value: '"guest"'
state: present