add missing env vars

This commit is contained in:
Gabriel Augendre 2024-10-11 11:58:43 +02:00
parent 81597a4b34
commit a2fc23e8e8

View file

@ -21,7 +21,11 @@ jobs:
# Set this option if you want the action to check for the latest available version that satisfies the version spec.
check-latest: true
- name: Run ansible
env:
ANSIBLE_INVENTORY: inventories/github.yaml
ANSIBLE_VAULT_PASSWORD_FILE: vault.pass
run: |
echo "${{ secrets.ANSIBLE_VAULT_PASSWORD }}" > $ANSIBLE_VAULT_PASSWORD_FILE
export KEY_FILE=$(mktemp)
echo "${{ secrets.DEPLOY_KEY }}" > $KEY_FILE
ansible-playbook playbooks/all.yaml