mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-29 03:30:22 -07:00
Native YAML - messaging (#3599)
This commit is contained in:
parent
5209969a7c
commit
8a6df38cc5
8 changed files with 60 additions and 26 deletions
|
@ -107,20 +107,26 @@ options:
|
|||
EXAMPLES = '''
|
||||
# Add user to server and assign full access control on / vhost.
|
||||
# The user might have permission rules for other vhost but you don't care.
|
||||
- rabbitmq_user: user=joe
|
||||
password=changeme
|
||||
vhost=/
|
||||
configure_priv=.*
|
||||
read_priv=.*
|
||||
write_priv=.*
|
||||
state=present
|
||||
- rabbitmq_user:
|
||||
user: joe
|
||||
password: changeme
|
||||
vhost: /
|
||||
configure_priv: .*
|
||||
read_priv: .*
|
||||
write_priv: .*
|
||||
state: present
|
||||
|
||||
# Add user to server and assign full access control on / vhost.
|
||||
# The user doesn't have permission rules for other vhosts
|
||||
- rabbitmq_user: user=joe
|
||||
password=changeme
|
||||
permissions=[{vhost='/', configure_priv='.*', read_priv='.*', write_priv='.*'}]
|
||||
state=present
|
||||
- rabbitmq_user:
|
||||
user: joe
|
||||
password: changeme
|
||||
permissions:
|
||||
- vhost: /
|
||||
configure_priv: .*
|
||||
read_priv: .*
|
||||
write_priv: .*
|
||||
state: present
|
||||
'''
|
||||
|
||||
class RabbitMqUser(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue