Fix ansible-lint after upgrade to 4.3.1
Change-Id: I3a31c74608b48919c1563bac88313a8c4219dedc Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
This commit is contained in:
parent
393888a1cb
commit
88c53da22f
@ -10,3 +10,8 @@ skip_list:
|
||||
# [E503] Tasks that run when changed should likely be handlers
|
||||
# TODO(mnasiadka): Rework baremetal role to do handlers instead of when: *.changed
|
||||
- '503'
|
||||
# [E106] Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern'
|
||||
- '106'
|
||||
# [E208] permissions not mentioned
|
||||
# FIXME(mnasiadka): Rework file/template to include permissions
|
||||
- '208'
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
- name: 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
|
||||
stat:
|
||||
|
Loading…
Reference in New Issue
Block a user