community.rabbitmq.rabbitmq_binding – Manage rabbitMQ bindings
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
It is not included in
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:
The below requirements are needed on the host that executes this module.
requests >= 1.0.0
# Bind myQueue to directExchange with routing key info - community.rabbitmq.rabbitmq_binding: name: directExchange destination: myQueue type: queue routing_key: info # Bind directExchange to topicExchange with routing key *.info - community.rabbitmq.rabbitmq_binding: name: topicExchange destination: topicExchange type: exchange routing_key: '*.info'