add corrections to vhosts
This commit is contained in:
parent
8dc71dfeb4
commit
fe0fc52856
@ -30,6 +30,18 @@ rabbitmq_users:
|
|||||||
configure_priv: ".*"
|
configure_priv: ".*"
|
||||||
read_priv: ".*"
|
read_priv: ".*"
|
||||||
write_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
|
- user: mbs
|
||||||
state: present
|
state: present
|
||||||
configure_priv: ".*"
|
configure_priv: ".*"
|
||||||
@ -57,5 +69,13 @@ rabbitmq_users:
|
|||||||
configure_priv: "^$"
|
configure_priv: "^$"
|
||||||
read_priv: "^$"
|
read_priv: "^$"
|
||||||
write_priv: "^$"
|
write_priv: "^$"
|
||||||
|
- vhost: '/pubsub'
|
||||||
|
configure_priv: "^$"
|
||||||
|
read_priv: "^$"
|
||||||
|
write_priv: "^$"
|
||||||
|
- vhost: '/public_pubsub'
|
||||||
|
configure_priv: "^$"
|
||||||
|
read_priv: "^$"
|
||||||
|
write_priv: "^$"
|
||||||
tags: "monitoring"
|
tags: "monitoring"
|
||||||
...
|
...
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
rabbitmq_vhosts:
|
rabbitmq_vhosts:
|
||||||
- vhost: pubsub
|
- vhost: '/pubsub'
|
||||||
state: present
|
state: present
|
||||||
policy:
|
policy:
|
||||||
- name: HA
|
- name: HA
|
||||||
@ -18,7 +18,7 @@ rabbitmq_vhosts:
|
|||||||
tags:
|
tags:
|
||||||
expires: '111600000'
|
expires: '111600000'
|
||||||
max-length-bytes: '1073741824'
|
max-length-bytes: '1073741824'
|
||||||
- vhost: public_pubsub
|
- vhost: '/public_pubsub'
|
||||||
state: present
|
state: present
|
||||||
policy:
|
policy:
|
||||||
- name: sweeper
|
- name: sweeper
|
||||||
@ -68,4 +68,44 @@ rabbitmq_vhosts:
|
|||||||
tags:
|
tags:
|
||||||
expires: '111600000'
|
expires: '111600000'
|
||||||
max-length-bytes: '1073741824'
|
max-length-bytes: '1073741824'
|
||||||
|
# Legacy entries
|
||||||
|
- vhost: pubsub
|
||||||
|
state: present
|
||||||
|
policy:
|
||||||
|
- name: HA
|
||||||
|
apply_to: queues
|
||||||
|
state: present
|
||||||
|
pattern: ".*"
|
||||||
|
tags:
|
||||||
|
ha-mode: 'all'
|
||||||
|
ha-sync-mode: 'automatic'
|
||||||
|
ha-sync-batch-size: '10000'
|
||||||
|
- name: pubsub_sweeper
|
||||||
|
apply_to: queues
|
||||||
|
state: present
|
||||||
|
pattern: ".*"
|
||||||
|
tags:
|
||||||
|
expires: '111600000'
|
||||||
|
max-length-bytes: '1073741824'
|
||||||
|
- vhost: public_pubsub
|
||||||
|
state: present
|
||||||
|
policy:
|
||||||
|
- name: sweeper
|
||||||
|
apply_to: queues
|
||||||
|
state: present
|
||||||
|
pattern: ".*"
|
||||||
|
tags:
|
||||||
|
expires: '3600000'
|
||||||
|
max-length-bytes: '52428800'
|
||||||
|
- vhost: '/mbs'
|
||||||
|
state: present
|
||||||
|
policy:
|
||||||
|
- name: HA
|
||||||
|
apply_to: queues
|
||||||
|
state: present
|
||||||
|
pattern: ".*"
|
||||||
|
tags:
|
||||||
|
ha-mode: 'all'
|
||||||
|
ha-sync-mode: 'automatic'
|
||||||
|
ha-sync-batch-size: '10000'
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user