rabbitmq/tasks/ha_policy.yaml
2023-02-08 01:38:33 +03:00

14 lines
476 B
YAML

---
- 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 }}"