mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-22 14:01:58 +01:00
add missing env vars
This commit is contained in:
parent
81597a4b34
commit
a2fc23e8e8
1 changed files with 4 additions and 0 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue