run playbooks in workflow
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m38s Details

This commit is contained in:
Gleb Koval 2023-09-02 22:43:46 +01:00
parent 8aa40d27de
commit 57e293cf89
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
2 changed files with 8 additions and 8 deletions

View File

@ -58,10 +58,10 @@ jobs:
echo "will run playbooks: $TO_RUN"
echo "to_run=$TO_RUN" >> "$GITHUB_OUTPUT"
# - name: Run changed playbooks
# if: env.DEPLOY == 'none'
# env:
# PROXMOX_HOST: ${{ secrets.PROXMOX_HOST }}
# PROXMOX_TOKEN_ID: ${{ secrets.PROXMOX_TOKEN_ID }}
# PROXMOX_TOKEN_SECRET: ${{ secrets.PROXMOX_TOKEN_SECRET }}
# run: ansible-playbook --inventory ./inventory ${{ steps.files.outputs.all_changed_files }}
- name: Run playbooks
if: env.DEPLOY != 'none'
env:
PROXMOX_HOST: ${{ secrets.PROXMOX_HOST }}
PROXMOX_TOKEN_ID: ${{ secrets.PROXMOX_TOKEN_ID }}
PROXMOX_TOKEN_SECRET: ${{ secrets.PROXMOX_TOKEN_SECRET }}
run: ansible-playbook --inventory ./inventory ${{ steps.playbooks.outputs.to_run }}

View File

@ -17,7 +17,7 @@
community.general.proxmox_kvm:
cpu: x86-64-v3
memory: 2048
cores: 3
cores: 4
update: true
- name: Start test-vm-2
community.general.proxmox_kvm: