Skip to content
Snippets Groups Projects
Commit f99cca5e authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

ansible-lint: Make the new syntax-check rule happy

With a dynamic inventory and vault_password_file set it will try to use
them, which of course doesn't work in the CI.
parent 36079da3
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,9 @@ ansible-lint:
# Fix weird ansible bug: https://github.com/trailofbits/algo/issues/1637
# 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 "s/,hcloud_inventory.py//" -i ansible.cfg
- sed "/^vault_password_file/d" -i ansible.cfg
- ansible-lint
terraform-validate:
......
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