rabbitmq_parameter – Manage RabbitMQ parameters

From Get docs
Ansible/docs/2.8/modules/rabbitmq parameter module


rabbitmq_parameter – Manage RabbitMQ parameters

Synopsis

  • Manage dynamic, cluster-wide parameters for RabbitMQ

Parameters

Parameter Choices/Defaults Comments

component

- / required

Name of the component of which the parameter is being set

name

- / required

Name of the parameter being set

node

-

Default:

"rabbit"

erlang node name of the rabbit we wish to configure

state

-

  • present

  • absent

Specify if user is to be added or removed

value

-

Value of the parameter, as a JSON term

vhost

-

Default:

"/"

vhost to apply access privileges.



Examples

# Set the federation parameter 'local_username' to a value of 'guest' (in quotes)
- rabbitmq_parameter:
    component: federation
    name: local-username
    value: '"guest"'
    state: present

Status

Authors

  • Chris Hoffman (@chrishoffman)

Hint

If you notice any issues in this documentation you can edit this document to improve it.


© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.8/modules/rabbitmq_parameter_module.html