96 lines
2.3 KiB
YAML
96 lines
2.3 KiB
YAML
|
---
|
||
|
rabbitmq_users:
|
||
|
- user: guest
|
||
|
state: absent
|
||
|
- user: rockyadmin
|
||
|
state: present
|
||
|
tags: "administrator"
|
||
|
permissions:
|
||
|
- vhost: /
|
||
|
configure_priv: ".*"
|
||
|
read_priv: ".*"
|
||
|
write_priv: ".*"
|
||
|
- vhost: pubsub
|
||
|
configure_priv: ".*"
|
||
|
read_priv: ".*"
|
||
|
write_priv: ".*"
|
||
|
- vhost: public_pubsub
|
||
|
configure_priv: ".*"
|
||
|
read_priv: ".*"
|
||
|
write_priv: ".*"
|
||
|
- vhost: distrobuild
|
||
|
configure_priv: ".*"
|
||
|
read_priv: ".*"
|
||
|
write_priv: ".*"
|
||
|
- vhost: odcs
|
||
|
configure_priv: ".*"
|
||
|
read_priv: ".*"
|
||
|
write_priv: ".*"
|
||
|
- vhost: '/pubsub'
|
||
|
configure_priv: ".*"
|
||
|
read_priv: ".*"
|
||
|
write_priv: ".*"
|
||
|
- vhost: '/public_pubsub'
|
||
|
configure_priv: ".*"
|
||
|
read_priv: ".*"
|
||
|
write_priv: ".*"
|
||
|
- user: distrobuild
|
||
|
state: present
|
||
|
configure_priv: ".*"
|
||
|
read_priv: ".*"
|
||
|
write_priv: ".*"
|
||
|
vhost: distrobuild
|
||
|
- user: rockymonitor
|
||
|
state: present
|
||
|
permissions:
|
||
|
- vhost: /
|
||
|
configure_priv: "^$"
|
||
|
read_priv: "^$"
|
||
|
write_priv: "^$"
|
||
|
- vhost: pubsub
|
||
|
configure_priv: "^$"
|
||
|
read_priv: "^$"
|
||
|
write_priv: "^$"
|
||
|
- vhost: public_pubsub
|
||
|
configure_priv: "^$"
|
||
|
read_priv: "^$"
|
||
|
write_priv: "^$"
|
||
|
- vhost: '/pubsub'
|
||
|
configure_priv: "^$"
|
||
|
read_priv: "^$"
|
||
|
write_priv: "^$"
|
||
|
- vhost: '/public_pubsub'
|
||
|
configure_priv: "^$"
|
||
|
read_priv: "^$"
|
||
|
write_priv: "^$"
|
||
|
tags: "monitoring"
|
||
|
- user: rockypubsub
|
||
|
state: present
|
||
|
permissions:
|
||
|
- vhost: public_pubsub
|
||
|
configure_priv: "^(\\w{8}(-\\w{4}){3}-\\w{12})$"
|
||
|
write_priv: "^(\\w{8}(-\\w{4}){3}-\\w{12})$"
|
||
|
read_priv: ".*"
|
||
|
- user: pubsub_federation
|
||
|
state: present
|
||
|
permissions:
|
||
|
- vhost: pubsub
|
||
|
configure_priv: "^federation.*"
|
||
|
write_priv: "^federation.*"
|
||
|
read_priv: ".*"
|
||
|
- user: rockykoji
|
||
|
state: present
|
||
|
permissions:
|
||
|
- vhost: pubsub
|
||
|
configure_priv: "^$"
|
||
|
read_priv: "^$"
|
||
|
write_priv: "amq\\.topic"
|
||
|
- user: rockyautomation
|
||
|
state: present
|
||
|
permissions:
|
||
|
- vhost: pubsub
|
||
|
configure_priv: "^$"
|
||
|
read_priv: "^$"
|
||
|
write_priv: "amq\\.topic"
|
||
|
...
|