community.rabbitmq.rabbitmq_binding – Manage rabbitMQ bindings¶
This plugin is part of the community.rabbitmq collection.
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'