fix: proxmox_kvm use target not target_node, remove online param
This commit is contained in:
@@ -91,8 +91,7 @@
|
|||||||
node: "{{ current_node }}"
|
node: "{{ current_node }}"
|
||||||
vmid: "{{ item.vmid }}"
|
vmid: "{{ item.vmid }}"
|
||||||
migrate: true
|
migrate: true
|
||||||
target_node: "{{ migration_target }}"
|
target: "{{ migration_target }}"
|
||||||
online: "{{ true if item.status == 'running' else false }}"
|
|
||||||
timeout: "{{ vm_shutdown_timeout }}"
|
timeout: "{{ vm_shutdown_timeout }}"
|
||||||
loop: "{{ kvm_guests }}"
|
loop: "{{ kvm_guests }}"
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
@@ -108,8 +107,7 @@
|
|||||||
node: "{{ current_node }}"
|
node: "{{ current_node }}"
|
||||||
vmid: "{{ item.vmid }}"
|
vmid: "{{ item.vmid }}"
|
||||||
migrate: true
|
migrate: true
|
||||||
target_node: "{{ migration_target }}"
|
target: "{{ migration_target }}"
|
||||||
online: "{{ true if item.status == 'running' else false }}"
|
|
||||||
timeout: "{{ vm_shutdown_timeout }}"
|
timeout: "{{ vm_shutdown_timeout }}"
|
||||||
loop: "{{ kvm_guests }}"
|
loop: "{{ kvm_guests }}"
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|||||||
Reference in New Issue
Block a user