Skip to content
Snippets Groups Projects
Commit 0fe5fa83 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Fix empty match while setting supported_policy_files"

parents adb2bdec 9d0ccad1
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Update policy file name
- set_fact:
supported_policy_files: "{{ supported_policy_format_list | map('regex_replace', '(.*)', '{{ project_name }}_\\1') | list }}"
supported_policy_files: "{{ supported_policy_format_list | map('regex_replace', '(.+)', '{{ project_name }}_\\1') | list }}"
- name: Check if policies shall be overwritten
local_action: stat path="{{ fullpath }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment