Hi Martin,
Thank you for the help, I have modified my playbook without the first task.
Here is it:
- name: Change state in next_run and reboot
ovirt_vm:
name: "{{ item.name }}"
auth: "{{ ovirt_auth }}"
state: next_run
wait: true
with_items:
- "{{ vm_result.ovirt_vms }}"
ignore_errors: true
The VMs doesn't reboot. Nothing has changed, I can't understand where is my
error.
Here my scenario by ansible playbook:
1) turn on VMs (Works fine)
2) first reboot (NO)
3) second reboot (NO)