On Wed, May 27, 2020 at 4:50 PM Derek Atkins <derek@ihtfp.com> wrote:
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).

But you hated Python, didn't you? ;-)

I downloaded your files, even if I'm far from knowing python....
try the ansible playbook that gives you more flexibility in my opinion

Gianluca