run playbooks in workflow
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m38s
Details
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m38s
Details
This commit is contained in:
parent
8aa40d27de
commit
57e293cf89
|
@ -58,10 +58,10 @@ jobs:
|
||||||
echo "will run playbooks: $TO_RUN"
|
echo "will run playbooks: $TO_RUN"
|
||||||
echo "to_run=$TO_RUN" >> "$GITHUB_OUTPUT"
|
echo "to_run=$TO_RUN" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
# - name: Run changed playbooks
|
- name: Run playbooks
|
||||||
# if: env.DEPLOY == 'none'
|
if: env.DEPLOY != 'none'
|
||||||
# env:
|
env:
|
||||||
# PROXMOX_HOST: ${{ secrets.PROXMOX_HOST }}
|
PROXMOX_HOST: ${{ secrets.PROXMOX_HOST }}
|
||||||
# PROXMOX_TOKEN_ID: ${{ secrets.PROXMOX_TOKEN_ID }}
|
PROXMOX_TOKEN_ID: ${{ secrets.PROXMOX_TOKEN_ID }}
|
||||||
# PROXMOX_TOKEN_SECRET: ${{ secrets.PROXMOX_TOKEN_SECRET }}
|
PROXMOX_TOKEN_SECRET: ${{ secrets.PROXMOX_TOKEN_SECRET }}
|
||||||
# run: ansible-playbook --inventory ./inventory ${{ steps.files.outputs.all_changed_files }}
|
run: ansible-playbook --inventory ./inventory ${{ steps.playbooks.outputs.to_run }}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
community.general.proxmox_kvm:
|
community.general.proxmox_kvm:
|
||||||
cpu: x86-64-v3
|
cpu: x86-64-v3
|
||||||
memory: 2048
|
memory: 2048
|
||||||
cores: 3
|
cores: 4
|
||||||
update: true
|
update: true
|
||||||
- name: Start test-vm-2
|
- name: Start test-vm-2
|
||||||
community.general.proxmox_kvm:
|
community.general.proxmox_kvm:
|
||||||
|
|
Loading…
Reference in New Issue