---
- 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 }}
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
2 matches
Mail list logo