fix: proxmox_kvm use target not target_node, remove online param

This commit is contained in:
2026-03-14 15:51:23 -07:00
parent cd34014dcc
commit 7a7405f3f8

View File

@@ -91,8 +91,7 @@
node: "{{ current_node }}"
vmid: "{{ item.vmid }}"
migrate: true
target_node: "{{ migration_target }}"
online: "{{ true if item.status == 'running' else false }}"
target: "{{ migration_target }}"
timeout: "{{ vm_shutdown_timeout }}"
loop: "{{ kvm_guests }}"
delegate_to: localhost
@@ -108,8 +107,7 @@
node: "{{ current_node }}"
vmid: "{{ item.vmid }}"
migrate: true
target_node: "{{ migration_target }}"
online: "{{ true if item.status == 'running' else false }}"
target: "{{ migration_target }}"
timeout: "{{ vm_shutdown_timeout }}"
loop: "{{ kvm_guests }}"
delegate_to: localhost