mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
Native YAML - messaging (#3599)
This commit is contained in:
parent
5209969a7c
commit
8a6df38cc5
8 changed files with 60 additions and 26 deletions
|
@ -94,10 +94,18 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
# Bind myQueue to directExchange with routing key info
|
||||
- rabbitmq_binding: name=directExchange destination=myQueue type=queue routing_key=info
|
||||
- rabbitmq_binding:
|
||||
name: directExchange
|
||||
destination: myQueue
|
||||
type: queue
|
||||
routing_key: info
|
||||
|
||||
# Bind directExchange to topicExchange with routing key *.info
|
||||
- rabbitmq_binding: name=topicExchange destination=topicExchange type=exchange routing_key="*.info"
|
||||
- rabbitmq_binding:
|
||||
name: topicExchange
|
||||
destination: topicExchange
|
||||
type: exchange
|
||||
routing_key: *.info
|
||||
'''
|
||||
|
||||
import requests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue