Skip to content
Snippets Groups Projects
Commit 88c53da2 authored by Michal Nasiadka's avatar Michal Nasiadka Committed by Radosław Piliszek
Browse files

Fix ansible-lint after upgrade to 4.3.1


Change-Id: I3a31c74608b48919c1563bac88313a8c4219dedc
Co-Authored-By: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
parent 393888a1
No related branches found
No related tags found
No related merge requests found
......@@ -9,4 +9,9 @@ skip_list:
- '301'
# [E503] Tasks that run when changed should likely be handlers
# TODO(mnasiadka): Rework baremetal role to do handlers instead of when: *.changed
- '503'
\ No newline at end of file
- '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:
......
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