fix changed playbooks glob
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m41s Details

This commit is contained in:
Gleb Koval 2023-09-02 22:56:50 +01:00
parent 57e293cf89
commit 31fc17bae8
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ jobs:
if: env.DEPLOY == 'some' if: env.DEPLOY == 'some'
uses: tj-actions/changed-files@v38 uses: tj-actions/changed-files@v38
with: with:
files: infra/**-playbook.yaml files: infra/**/*-playbook.yaml
- name: Get playbooks - name: Get playbooks
id: playbooks id: playbooks
@ -59,7 +59,7 @@ jobs:
echo "to_run=$TO_RUN" >> "$GITHUB_OUTPUT" echo "to_run=$TO_RUN" >> "$GITHUB_OUTPUT"
- name: Run playbooks - name: Run playbooks
if: env.DEPLOY != 'none' if: env.DEPLOY != 'none' && steps.playbooks.outputs.to_run != ''
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 }}

View File

@ -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: 4 cores: 5
update: true update: true
- name: Start test-vm-2 - name: Start test-vm-2
community.general.proxmox_kvm: community.general.proxmox_kvm: