Copy over YAML policy files

There are some projects (such as Octavia) that ship YAML policy
files such as Octavia so this patch copies them as well.

Change-Id: Ic78d130bb3899720f619d8a78155c7b36807a07c
This commit is contained in:
Mohammed Naser 2019-03-30 19:12:54 -04:00
parent c4674318bf
commit b647643db7

View File

@ -125,7 +125,7 @@
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
{{ policy_path }} {{ policy_path }}
patterns: ["^.*_policy.json$"] patterns: ["^.*_policy.(json|yaml)$"]
file_type: file file_type: file
use_regex: yes use_regex: yes
register: found_policy register: found_policy