ansible-ops-management/vars/rabbitmq_users.yml
2023-08-09 13:40:45 -07:00

110 lines
2.6 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: mbs
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: ".*"
- vhost: '/mbs'
configure_priv: ".*"
read_priv: ".*"
write_priv: ".*"
- user: mbs
state: present
configure_priv: ".*"
read_priv: ".*"
write_priv: ".*"
vhost: mbs
- 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"
...