fix: proxmox_kvm use target not target_node, remove online param
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
node: "{{ migration_target }}"
|
||||
vmid: "{{ item.vmid }}"
|
||||
migrate: true
|
||||
target_node: "{{ current_node }}"
|
||||
online: "{{ true if item.status == 'running' else false }}"
|
||||
target: "{{ current_node }}"
|
||||
|
||||
timeout: "{{ vm_shutdown_timeout }}"
|
||||
loop: "{{ kvm_guests | default([]) }}"
|
||||
delegate_to: localhost
|
||||
@@ -41,5 +41,4 @@
|
||||
|
||||
- name: "Restore | Complete"
|
||||
ansible.builtin.debug:
|
||||
msg: "All guests restored to {{ current_node }}"
|
||||
|
||||
msg: "All guests restored to {{ current_node }}"
|
||||
Reference in New Issue
Block a user