Verified Commit 96f37bd5 authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

ci: completely remove "vars_files:" from playbooks

Removing just the list of vaulted var files triggers a schema violation.
parent c1bf72d2
Pipeline #19284 passed with stage
in 35 seconds
...@@ -8,8 +8,8 @@ ansible-lint: ...@@ -8,8 +8,8 @@ ansible-lint:
# This probably happens due to gitlab-runner mounting the git repo into the container # This probably happens due to gitlab-runner mounting the git repo into the container
- chmod o-w . - chmod o-w .
# Fix syntax-check rule (https://github.com/ansible-community/ansible-lint/issues/1350#issuecomment-778764110) # Fix syntax-check rule (https://github.com/ansible-community/ansible-lint/issues/1350#issuecomment-778764110)
- sed "/^vault_identity_list/d" -i ansible.cfg - sed -i "/^vault_identity_list/d" ansible.cfg
- sed "/misc\/vaults\/vault_/d" -i playbooks/*.yml - sed -i -e "/vars_files:/d" -e "/misc\/vaults\/vault_/d" playbooks/*.yml
# Fix load-failure: Failed to load or parse file # Fix load-failure: Failed to load or parse file
- ansible-lint $(printf -- "--exclude %s " */*/vault_*) - ansible-lint $(printf -- "--exclude %s " */*/vault_*)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment