diff options
| -rw-r--r-- | .ansible-lint | 7 | ||||
| -rw-r--r-- | ansible/roles/horizon/tasks/policy_item.yml | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/.ansible-lint b/.ansible-lint index f10b027c8..676bf4683 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -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' diff --git a/ansible/roles/horizon/tasks/policy_item.yml b/ansible/roles/horizon/tasks/policy_item.yml index acef7be57..7350dc755 100644 --- a/ansible/roles/horizon/tasks/policy_item.yml +++ b/ansible/roles/horizon/tasks/policy_item.yml @@ -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: |
