72 lines
1.6 KiB
YAML
72 lines
1.6 KiB
YAML
|
---
|
||
|
rabbitmq_vhosts:
|
||
|
- 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'
|
||
|
- vhost: distrobuild
|
||
|
state: present
|
||
|
policy:
|
||
|
- name: HA
|
||
|
apply_to: queues
|
||
|
state: present
|
||
|
pattern: ".*"
|
||
|
tags:
|
||
|
ha-mode: 'all'
|
||
|
ha-sync-mode: 'automatic'
|
||
|
ha-sync-batch-size: '10000'
|
||
|
- vhost: odcs
|
||
|
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'
|
||
|
...
|