Fix error related to missing .vault_password file in pipeline (again)

This commit is contained in:
Kishan Takoordyal 2025-08-11 22:14:51 +04:00
parent efbef06b77
commit 39e6f70388
Signed by: root
GPG Key ID: 938988C2E73F190F

View File

@ -34,8 +34,9 @@ jobs:
run: |
chmod +x setup_venv.sh
./setup_venv.sh
- name: Save vault password
run: echo "${{ secrets.ANSIBLE_VAULT_PASSWORD }}" > .vault_password
- name: Run ansible-lint
run: |
touch .vault_password
source ./venv/bin/activate
PY_COLORS=1 ANSIBLE_FORCE_COLOR=1 ANSIBLE_CONFIG=./ansible.cfg ansible-lint --exclude=inventory