Commit f99cca5e authored by Kristian Klausen's avatar Kristian Klausen

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
......@@ -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:
......
Markdown is supported
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