Native YAML - messaging (#3599)

This commit is contained in:
Fabio Alessandro Locati 2016-12-01 13:59:53 +00:00 committed by Matt Clay
parent 5209969a7c
commit 8a6df38cc5
8 changed files with 60 additions and 26 deletions

View file

@ -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):