Caution External Mail: Do not click any links or open any attachments unless you trust the sender and know that the content is safe.
Hi,
(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.cecchi@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...
[snip]
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
github.
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
--
Derek Atkins 617-623-3745
derek@ihtfp.com
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ihtfp.com%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C481a5446434f4870d2af08d8024ebc14%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637261884477418381&sdata=91YXNjtMwqPp%2BYzfXDfWRaas2hwrWl55AHoW89yq4E8%3D&reserved=0
Computer and Internet Security Consultant
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement:
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fprivacy-policy.html&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C481a5446434f4870d2af08d8024ebc14%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637261884477418381&sdata=zWJOVIR%2BpaBxBoYYXxc6eNw%2B5lc2%2BdYrBF8VUCxCUAI%3D&reserved=0
oVirt Code of Conduct:
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C481a5446434f4870d2af08d8024ebc14%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637261884477418381&sdata=HgU9l5h4kCDZ7%2BiZ3DrXgYeRFzmB8fUiRs8BRrXs%2BTY%3D&reserved=0
List Archives:
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2FX7KLBANUBJCMASFONU2SZQH5Z3HJU2SI%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C481a5446434f4870d2af08d8024ebc14%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637261884477418381&sdata=XtCL1PEnD3VeqtTSSClvIkovqJRklwisxK%2FZD9HnLRI%3D&reserved=0