fix playbook
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m43s Details

This commit is contained in:
Gleb Koval 2023-09-03 00:43:05 +01:00
parent ac4bd0a226
commit 2fe1ffddc3
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
1 changed files with 3 additions and 2 deletions

View File

@ -16,12 +16,13 @@
register: vm
- name: Print VM data
ansible.builtin.debug:
msg: "{{ vm }}"
var: vm
- name: Modify test-vm-2
when: vm.vmid is defined
module_defaults:
community.general.proxmox_kvm:
vmid: "{{ vm.vmid }}"
tasks:
block:
- name: Wait for test-vm-2 to exist
community.general.proxmox_kvm:
state: current