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:
Michal Nasiadka 2020-08-21 09:26:15 +02:00 committed by Radosław Piliszek
parent 393888a1cb
commit 88c53da22f
2 changed files with 7 additions and 2 deletions

View File

@ -10,3 +10,8 @@ skip_list:
# [E503] Tasks that run when changed should likely be handlers # [E503] Tasks that run when changed should likely be handlers
# TODO(mnasiadka): Rework baremetal role to do handlers instead of when: *.changed # TODO(mnasiadka): Rework baremetal role to do handlers instead of when: *.changed
- '503' - '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'

View File

@ -2,7 +2,7 @@
- name: 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
stat: stat: