fix playbook
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m43s
Details
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m43s
Details
This commit is contained in:
parent
ac4bd0a226
commit
2fe1ffddc3
|
@ -16,12 +16,13 @@
|
||||||
register: vm
|
register: vm
|
||||||
- name: Print VM data
|
- name: Print VM data
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "{{ vm }}"
|
var: vm
|
||||||
- name: Modify test-vm-2
|
- name: Modify test-vm-2
|
||||||
|
when: vm.vmid is defined
|
||||||
module_defaults:
|
module_defaults:
|
||||||
community.general.proxmox_kvm:
|
community.general.proxmox_kvm:
|
||||||
vmid: "{{ vm.vmid }}"
|
vmid: "{{ vm.vmid }}"
|
||||||
tasks:
|
block:
|
||||||
- name: Wait for test-vm-2 to exist
|
- name: Wait for test-vm-2 to exist
|
||||||
community.general.proxmox_kvm:
|
community.general.proxmox_kvm:
|
||||||
state: current
|
state: current
|
||||||
|
|
Loading…
Reference in New Issue