<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Interesting work and thank you for this stuff. I played with some
modules (ovirt_vms_facts) to get some vms name for example.<br>
</p>
<ul>
<li>[root@acore ovirt]# ansible-playbook All_Vms_list.yml
<br>
</li>
<li>with <br>
- name: List vms<br>
ovirt_vms_facts:<br>
auth: "{{ ovirt_auth }}"<br>
pattern: name=test_cloud<br>
fetch_nested: true<br>
nested_attributes: name<br>
register: ovirt_vms<br>
<br>
- shell: echo "{{ ovirt_vms.name }} > vms_name" // doesn't
work</li>
</ul>
<ul>
<li> - shell: echo "{{ ovirt_vms }} > vms_name // returns an
unicode json file, that's surely why we can't parse it. Can you
help me to solve this into the ovirt_vms_facts.py file?</li>
</ul>
<ul>
<li>I have no such problem with ovirt_snaphots_module and I can
easily get the snaphot.id variable.... but:</li>
<ul>
<li>I had to manually copy the ovirt_snaphsots_module because it
is not present on the git tree. This is very curious: we can
find it here
<a class="moz-txt-link-freetext" href="http://ovirt-ansible-modules.readthedocs.io/en/latest/_modules/ovirt_snapshots_module.htm">http://ovirt-ansible-modules.readthedocs.io/en/latest/_modules/ovirt_snapshots_module.htm</a>,
but it is not available on the main ansible git tre.</li>
<li>On the doc, return values are not described</li>
</ul>
</ul>
<p>For the moment, my opinion is that ansible can't be as much
convinient as the current CLI, e.g. ovirt-shell -E "list vms", out
of the box. Is there a really reason to deprecate it?<br>
</p>
<br>
<div class="moz-cite-prefix">Le 02/12/2016 à 14:12, Ondra Machacek a
écrit :<br>
</div>
<blockquote
cite="mid:3c316338-eb1d-b34c-f17c-663c5e53e4b0@redhat.com"
type="cite">Hello all,
<br>
<br>
I would like to kindly ask everyone who is Ansible or oVirt user
for
<br>
testing of the new Ansible oVirt modules. For everyone who is
familiar
<br>
with the Ansible and oVirt, this[1] describes the steps you need
to do,
<br>
to setup oVirt modules library and start using those modules (Most
of those modules will be available in Ansible 2.3, some of them
are already in 2.2).
<br>
<br>
If you have any issue setting this up, please contact me, I will
do the
<br>
best to help you.
<br>
<br>
If you have an issue, which you think is a bug, please open an
issue
<br>
here[2]. Please note that Ansible is merging it's repositories, so
since
<br>
next week it will actually be stored here[3]. If you are missing
<br>
anything please open an issue as well, or just contact me, and I
will
<br>
do fix it. You are also very welcome to sent PR with fixes.
<br>
<br>
For those who don't have testing environment which can test
against,
<br>
I've created an Vagrant project which will deploy you the oVirt
instance
<br>
using Ansible playbooks. You can find how to use it here[4].
<br>
<br>
The repository also contains few examples[5], so you don't have to
<br>
copy-paste them from the source.
<br>
<br>
Thanks all for reading this and any feedback,
<br>
Ondra
<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://github.com/machacekondra/ovirt-tests/releases/tag/0.1">https://github.com/machacekondra/ovirt-tests/releases/tag/0.1</a>
<br>
[2] <a class="moz-txt-link-freetext" href="https://github.com/ansible/ansible-modules-extras/issues">https://github.com/ansible/ansible-modules-extras/issues</a>
<br>
[3] <a class="moz-txt-link-freetext" href="https://github.com/ansible/ansible">https://github.com/ansible/ansible</a>
<br>
[4] <a class="moz-txt-link-freetext" href="https://github.com/machacekondra/ovirt-tests">https://github.com/machacekondra/ovirt-tests</a>
<br>
[5]
<a class="moz-txt-link-freetext" href="https://github.com/machacekondra/ovirt-tests/tree/master/examples">https://github.com/machacekondra/ovirt-tests/tree/master/examples</a>
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet@abes.fr</a> </pre>
</body>
</html>