community.rabbitmq.rabbitmq_exchange – Manage rabbitMQ exchanges
Note
This plugin is part of the community.rabbitmq collection (version 1.1.0).
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_exchange
.
Requirements
The below requirements are needed on the host that executes this module.
requests >= 1.0.0
Parameters
Parameter |
Comments |
---|---|
extra arguments for exchange. If defined this argument is a key/value dictionary Default: {} |
|
if the exchange should delete itself after all queues/exchanges unbound from it Choices:
|
|
CA certificate to verify SSL connection to management API. |
|
Client certificate to send on SSL connections to management API. |
|
Private key matching the client certificate. |
|
whether exchange is durable or not Choices:
|
|
type for the exchange Choices:
|
|
exchange is available only for other exchanges Choices:
|
|
RabbitMQ host for connection. Default: “localhost” |
|
RabbitMQ password for connection. Default: “guest” |
|
RabbitMQ management API port. Default: “15672” |
|
RabbitMQ management API protocol. Choices:
|
|
RabbitMQ user for connection. Default: “guest” |
|
Name of the exchange to create |
|
Whether the exchange should be present or absent Choices:
|
|
RabbitMQ virtual host. Default: “/” |