ansible-ops-management/vars/rabbitmq_vhost.yml
2023-07-17 00:20:54 -07:00

112 lines
2.5 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
# 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
...