Merge "Allow to provide policy state"

This commit is contained in:
Zuul 2021-12-04 17:35:35 +00:00 committed by Gerrit Code Review
commit 69b7fcc53c
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@
pattern: "{{ item.pattern }}"
priority: "{{ item.priority | default(0) }}"
tags: "{{ item.tags }}"
state: "{{ item.state | default(omit) }}"
vhost: "{{ _oslomsg_rpc_vhost }}"
loop: "{{ _oslomsg_rpc_policies | default([]) + oslomsg_rpc_policies }}"
@ -77,6 +78,7 @@
pattern: "{{ item.pattern }}"
priority: "{{ item.priority | default(0) }}"
tags: "{{ item.tags }}"
state: "{{ item.state | default(omit) }}"
vhost: "{{ _oslomsg_notify_vhost }}"
loop: "{{ _oslomsg_notify_policies | default([]) + oslomsg_notify_policies }}"
when: