ansible-ops-management/vars/rabbitmq_vhost.yml

123 lines
2.9 KiB
YAML
Raw Normal View History

2023-08-09 20:40:45 +00:00
# parameter:
# - name: "pubsub-to-public_pubsub"
# component: "federation-upstream"
# value: '{"uri": "amqps://pubsub_federation:{{ pubsub_federation_pass }}@{{ rabbitmq_cluster_list[0] }}/%2Fpubsub", "ack-mode": "on-confirm"}'
# state: present
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-08-09 20:40:45 +00:00
- name: pubsub-to-public_pubsub
apply_to: exchanges
state: present
pattern: "^(amq|zmq)\\.topic$"
tags:
federation-upstream: "pubsub-to-public_pubsub"
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
...