rabbitmq/tasks/ha_policy.yaml

14 lines
476 B
YAML
Raw Normal View History

2023-02-07 22:38:33 +00:00
---
- name: Set policies
rabbitmq_policy:
apply_to: "{{ item.apply_to | default(omit) }}"
name: "{{ item.name | default('default_policy') }}"
pattern: "{{ item.pattern | default(omit) }}"
priority: "{{ item.priority | default(omit) }}"
state: "{{ item.state | default(omit) }}"
node: "{{ item.node | default(omit) }}"
vhost: "{{ item.vhost | default(omit) }}"
args:
tags: "{{ item.tags | default(omit) }}"
loop: "{{ rabbitmq_policies }}"