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