[ovirt-users] adding a nic with its network with ansible module

Ondra Machacek omachace at redhat.com
Tue May 23 07:49:45 UTC 2017


Hi,

this was fixed by the this PR[1], but it didn't get to 2.3.
So if it's OK to you you can download the ovirt_nics module
from the devel branch and add it to your library path.

[1] https://github.com/ansible/ansible/pull/22684

On Mon, May 22, 2017 at 11:34 AM, Nathanaël Blanchet <blanchet at abes.fr>
wrote:

> Hello,
>
> I'm used to easily add multiple network to vm with the following
> ovirt-shell command:
>
> add nic --parent-vm-name acier --network-name brv106 --name admin
>
> I try to do the same with ovirt_nics module (with ansible-console or with
> regular yml file)
>
> ovirt_nics vm=acier name=admin network=brv106 profile=brv106 state=present
>
> interface is successfully created but network is empty, as if network
> field were skipped.
>
> Thanks for your help
>
> --
> 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
> blanchet at abes.fr
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170523/566a12c1/attachment.html>


More information about the Users mailing list