(Sorry if you get this twice -- looks like it didn't like the python
 script in there so I'm resending without the code)

Gianluca Cecchi <gianluca.cec...@gmail.com> writes:

> Hi Derek,
> today I played around with Ansible to accomplish, I think, what you currently
> do in oVirt shell.
> It was the occasion to learn, as always, something new: as "blocks" in Ansible
> dont' support looping, a workaround to get that.
> Furthermore I have a single host environment where it can turn usefull too...

I found the time to work on this using the Python SDK.  Took me longer
than I wanted but I think I've got something working now.  I just
haven't done a FULL test, yet, but a runtime time on the online system
works (I commented out the start call).

I still have two files, a vm_list.py which is a config file that
contains the list of VMs, in order, and then the main program itself
(start_vms.py) which is based on several of the examples available in

Unfortunately I can't seem to send the script in email because it's
getting blocked by the redhat server -- so I have no idea the best way
to share it.


       Derek Atkins                 617-623-3745
       de...@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
List Archives: 

Reply via email to