Merge "Fix empty match while setting supported_policy_files"
This commit is contained in:
commit
0fe5fa831a
@ -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 }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user