Hello, sorry if I continue in this thread but I have the same issue.
This solution in my case doesn't work and the VM can't reboot after an update task
like this
- name: Set next_run
ovirt_vm:
next_run: yes
name: "{{ item.name }}"
auth: "{{ ovirt_auth }}"
wait: true
with_items:
- "{{ vm_result.ovirt_vms }}"
ignore_errors: true
- name: Change state in next_run and reboot
ovirt_vm:
name: "{{ item.name }}"
auth: "{{ ovirt_auth }}"
state: next_run
wait: true
boot_devices:
- hd
with_items:
- "{{ vm_result.ovirt_vms }}"
ignore_errors: true
What's wrong? Thank you!