Re: [ovirt-users] Auto-restart VM from Linux Shell

2018-03-12 Thread Luca 'remix_tj' Lorenzetto
Hello Andrei, i'll do simply in this way with ansible: - name: Start oVirt VMs hosts: localhost connection: local gather_facts: False tasks: - name: Obtain SSO token ovirt_auth: url: https://engine/ovirt-engine/api username: admin@internal passwor

Re: [ovirt-users] Auto-restart VM from Linux Shell

2018-03-12 Thread andreil1
You meant this: https://github.com/machacekondra/ovirt-ansible-example/wiki https://github.com/machacekondra/ovirt-ansible-example Seems like overkill for so simple task. If bash scripts works, its OK for now. > On 12 Mar 2018, at 11:31, Yedidyah Bar David wrote: > > On Mon, Mar 12, 2018 at 1:

Re: [ovirt-users] Auto-restart VM from Linux Shell

2018-03-12 Thread Yedidyah Bar David
On Mon, Mar 12, 2018 at 1:45 AM, Andrei Verovski wrote: > Hi ! > > I have stubborn VM which time to time freezes, and watchdog for whatever > reason don't restart it. > > Basically I would like to combine these 3 command into one script. > > ovirt-shell -l https://node00.mydomain.com.lv/ovirt-engi