fix changed playbooks glob
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m41s
Details
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m41s
Details
This commit is contained in:
parent
57e293cf89
commit
31fc17bae8
|
@ -44,7 +44,7 @@ jobs:
|
|||
if: env.DEPLOY == 'some'
|
||||
uses: tj-actions/changed-files@v38
|
||||
with:
|
||||
files: infra/**-playbook.yaml
|
||||
files: infra/**/*-playbook.yaml
|
||||
|
||||
- name: Get playbooks
|
||||
id: playbooks
|
||||
|
@ -59,7 +59,7 @@ jobs:
|
|||
echo "to_run=$TO_RUN" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Run playbooks
|
||||
if: env.DEPLOY != 'none'
|
||||
if: env.DEPLOY != 'none' && steps.playbooks.outputs.to_run != ''
|
||||
env:
|
||||
PROXMOX_HOST: ${{ secrets.PROXMOX_HOST }}
|
||||
PROXMOX_TOKEN_ID: ${{ secrets.PROXMOX_TOKEN_ID }}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
community.general.proxmox_kvm:
|
||||
cpu: x86-64-v3
|
||||
memory: 2048
|
||||
cores: 4
|
||||
cores: 5
|
||||
update: true
|
||||
- name: Start test-vm-2
|
||||
community.general.proxmox_kvm:
|
||||
|
|
Loading…
Reference in New Issue