1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-05 18:46:02 +02:00

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.
This commit is contained in:
Kristian Klausen 2021-02-14 12:24:33 +01:00
parent 36079da322
commit f99cca5e3b

View File

@ -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: