mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Native YAML - messaging (#3599)
This commit is contained in:
parent
5209969a7c
commit
8a6df38cc5
8 changed files with 60 additions and 26 deletions
|
@ -74,13 +74,19 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: ensure the default vhost contains the HA policy via a dict
|
||||
rabbitmq_policy: name=HA pattern='.*'
|
||||
rabbitmq_policy:
|
||||
name: HA
|
||||
pattern: .*
|
||||
args:
|
||||
tags:
|
||||
"ha-mode": all
|
||||
ha-mode: all
|
||||
|
||||
- name: ensure the default vhost contains the HA policy
|
||||
rabbitmq_policy: name=HA pattern='.*' tags="ha-mode=all"
|
||||
rabbitmq_policy:
|
||||
name: HA
|
||||
pattern: .*
|
||||
tags:
|
||||
- ha-mode: all
|
||||
'''
|
||||
class RabbitMqPolicy(object):
|
||||
def __init__(self, module, name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue