community / community.rabbitmq / 1.3.0 / module / rabbitmq_parameter Manage RabbitMQ parameters Authors: Chris Hoffman (@chrishoffman)community.rabbitmq.rabbitmq_parameter (1.3.0) — module
Install with ansible-galaxy collection install community.rabbitmq:==1.3.0
collections: - name: community.rabbitmq version: 1.3.0
Manage dynamic, cluster-wide parameters for RabbitMQ
- 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
- name: Create or update a shovel vars: payload: src-protocol: "amqp091" src-uri: "amqp://" src-queue: "src-queue" dest-protocol: "amqp091" dest-uri: "amqp://guest:guest@example.com" dest-queue: "dest-queue" community.rabbitmq.rabbitmq_parameter: component: shovel name: "shovel-name" value: "{{ payload | to_json }}" state: present
name: description: - Name of the parameter being set required: true type: str node: default: rabbit description: - erlang node name of the rabbit we wish to configure type: str state: choices: - present - absent default: present description: - Specify if parameter is to be added or removed type: str value: description: - Value of the parameter, as a JSON term type: str vhost: default: / description: - vhost to apply access privileges. type: str component: description: - Name of the component of which the parameter is being set required: true type: str