Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
96f37bd5
Verified
Commit
96f37bd5
authored
May 21, 2022
by
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
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
96f37bd5
...
...
@@ -8,8 +8,8 @@ ansible-lint:
# This probably happens due to gitlab-runner mounting the git repo into the container
-
chmod o-w .
# Fix syntax-check rule (https://github.com/ansible-community/ansible-lint/issues/1350#issuecomment-778764110)
-
sed "/^vault_identity_list/d"
-i
ansible.cfg
-
sed "/misc\/vaults\/vault_/d"
-i
playbooks/*.yml
-
sed
-i
"/^vault_identity_list/d" ansible.cfg
-
sed
-i -e "/vars_files:/d" -e
"/misc\/vaults\/vault_/d" playbooks/*.yml
# Fix load-failure: Failed to load or parse file
-
ansible-lint $(printf -- "--exclude %s " */*/vault_*)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment