Ansible lint: task names - horizon
Change-Id: I1f8d80d2c655f15b8591aea95af81263581ebaaf
This commit is contained in:
parent
a4e7a13ac7
commit
9385911398
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Update policy file name
|
- name: Update policy file name
|
||||||
- set_fact:
|
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
|
- name: Check if policies shall be overwritten
|
||||||
@ -18,7 +18,8 @@
|
|||||||
loop_control:
|
loop_control:
|
||||||
loop_var: fullpath
|
loop_var: fullpath
|
||||||
|
|
||||||
- set_fact:
|
- name: Update custom policy file name
|
||||||
|
set_fact:
|
||||||
custom_policy: "{{ custom_policy }} + [ '{{ overwritten_files.results.0.stat.path }}' ]"
|
custom_policy: "{{ custom_policy }} + [ '{{ overwritten_files.results.0.stat.path }}' ]"
|
||||||
when:
|
when:
|
||||||
- overwritten_files.results
|
- overwritten_files.results
|
||||||
|
Loading…
x
Reference in New Issue
Block a user