[ovirt-users] Re: Power on VM - CLI / API

2020-10-01 Thread Strahil Nikolov via Users
--- - name: Example   hosts: localhost   connection: local   vars:     ovirt_auth:       username: 'admin@internal'       password: 'pass'       url: 'https://engine.localdomain/ovirt-engine/api'       insecure: True       ca_file: '/root/ansible/engine.ca'     - name: Power on {{ outer_item }}

[ovirt-users] Re: Power on VM - CLI / API

2020-09-30 Thread Klaas Demter
I would suggest to do it via one of the sdks, for example python https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/start_vm.py - you can create a simple python script you can start from cli. Alternatively use ansible, you can also call that from cli. Greetings Klaas On