ansible-ops-management/vars/rabbitmq_vhost.yml

112 lines
2.5 KiB
YAML
Raw Normal View History

2023-07-15 07:10:52 +00:00
---
rabbitmq_vhosts:
2023-07-17 07:17:04 +00:00
- vhost: '/pubsub'
2023-07-15 07:10:52 +00:00
state: present
policy:
- name: HA
apply_to: queues
state: present
pattern: ".*"
tags:
ha-mode: 'all'
ha-sync-mode: 'automatic'
2023-07-17 07:20:54 +00:00
ha-sync-batch-size: 10000
2023-07-15 07:10:52 +00:00
- name: pubsub_sweeper
apply_to: queues
state: present
pattern: ".*"
tags:
2023-07-17 07:20:54 +00:00
expires: 111600000
max-length-bytes: 1073741824
2023-07-17 07:17:04 +00:00
- vhost: '/public_pubsub'
2023-07-15 07:10:52 +00:00
state: present
policy:
- name: sweeper
apply_to: queues
state: present
pattern: ".*"
tags:
2023-07-17 07:20:54 +00:00
expires: 3600000
max-length-bytes: 52428800
2023-07-15 07:10:52 +00:00
- vhost: mbs
state: present
policy:
- name: HA
apply_to: queues
state: present
pattern: ".*"
tags:
ha-mode: 'all'
ha-sync-mode: 'automatic'
2023-07-17 07:20:54 +00:00
ha-sync-batch-size: 10000
2023-07-15 07:10:52 +00:00
- vhost: distrobuild
state: present
policy:
- name: HA
apply_to: queues
state: present
pattern: ".*"
tags:
ha-mode: 'all'
ha-sync-mode: 'automatic'
2023-07-17 07:20:54 +00:00
ha-sync-batch-size: 10000
2023-07-15 07:10:52 +00:00
- vhost: odcs
state: present
policy:
- name: HA
apply_to: queues
state: present
pattern: ".*"
tags:
ha-mode: 'all'
ha-sync-mode: 'automatic'
2023-07-17 07:20:54 +00:00
ha-sync-batch-size: 10000
2023-07-15 07:10:52 +00:00
- name: pubsub_sweeper
apply_to: queues
state: present
pattern: ".*"
tags:
2023-07-17 07:20:54 +00:00
expires: 111600000
max-length-bytes: 1073741824
2023-07-17 07:17:04 +00:00
# Legacy entries
- vhost: pubsub
state: present
policy:
- name: HA
apply_to: queues
state: present
pattern: ".*"
tags:
ha-mode: 'all'
ha-sync-mode: 'automatic'
2023-07-17 07:20:54 +00:00
ha-sync-batch-size: 10000
2023-07-17 07:17:04 +00:00
- name: pubsub_sweeper
apply_to: queues
state: present
pattern: ".*"
tags:
2023-07-17 07:20:54 +00:00
expires: 111600000
max-length-bytes: 1073741824
2023-07-17 07:17:04 +00:00
- vhost: public_pubsub
state: present
policy:
- name: sweeper
apply_to: queues
state: present
pattern: ".*"
tags:
2023-07-17 07:20:54 +00:00
expires: 3600000
max-length-bytes: 52428800
2023-07-17 07:17:04 +00:00
- vhost: '/mbs'
state: present
policy:
- name: HA
apply_to: queues
state: present
pattern: ".*"
tags:
ha-mode: 'all'
ha-sync-mode: 'automatic'
2023-07-17 07:20:54 +00:00
ha-sync-batch-size: 10000
2023-07-15 07:10:52 +00:00
...