From 39e6f70388bbd58b007f4642449a0c54c5781eb8 Mon Sep 17 00:00:00 2001 From: Kishan Takoordyal Date: Mon, 11 Aug 2025 22:14:51 +0400 Subject: [PATCH] Fix error related to missing .vault_password file in pipeline (again) --- .gitea/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 98f8b7f..d043079 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -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