fix playbook

This commit is contained in:
cyclane committed 2023-09-03 00:43:05 +01:00
1 parent ac4bd0a226
commit 2fe1ffddc3
1 file changed
+3 -2
+3 -2
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