Reboot a guest via ansible in oVirt

Hello, I see that there is this Ansible module for vSphere that contains also the state "restarted": https://docs.ansible.com/ansible/latest/modules/vmware_guest_powerstate_modu... For oVirt I see the ovirt_vm module where state can be one of: [ absent, next_run, present, registered, running, stopped, suspended, exported ] Can we think to add a restart / restarted one to it too? BTW: I see discrepancy between this page: https://www.ovirt.org/develop/release-management/features/infra/ansible_modu... where many module names and links to github source are plural (eg ovirt_disks) and actual ansible docs and github sources that are singular (eg. ovirt_disk) Thanks, Gianluca

Hi, we don't have implemented direct restart. But the next_run state does something similar. When there is next_run_configuration on the VM, the VM is restarted. I've submitted the issue[1], to add direct restart. [1] https://github.com/ansible/ansible/issues/62775 On 20/09/2019 16:20, Gianluca Cecchi wrote:
Hello, I see that there is this Ansible module for vSphere that contains also the state "restarted": https://docs.ansible.com/ansible/latest/modules/vmware_guest_powerstate_modu...
For oVirt I see the ovirt_vm module where state can be one of: [ absent, next_run, present, registered, running, stopped, suspended, exported ]
Can we think to add a restart / restarted one to it too? BTW: I see discrepancy between this page: https://www.ovirt.org/develop/release-management/features/infra/ansible_modu... where many module names and links to github source are plural (eg ovirt_disks) and actual ansible docs and github sources that are singular (eg. ovirt_disk)
Thanks, Gianluca
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/3MWZS7R3SUQ2ZX...
participants (2)
-
Gianluca Cecchi
-
Ondra Machacek