virt-lightning / ansible-collection-virt-lightning

Ansible Collection that provides an inventory and module plugin
1 stars 3 forks source link

virt-ligtning as backend of molecule-libvirt? #2

Open ssbarnea opened 4 years ago

ssbarnea commented 4 years ago

This is more of a question than a proposal about if it would make sense to use virt-lightning as backend for implementing molecule-libvirt.

If this would ease implementation it would be a serious pro. My only concern is that molecule is also a multi-platform development tool that is supposed to be able to use remoting support, in that case remoting support of libvirt.

In case it was not clear, remoting support is what enables such a cli tool to run on platforms that do not support the backend, like MacOS or Windows.

AFAIK remoting is not yet supported by virt-lightning, but if this is planned and achievable we are good.

Feel free to look at https://github.com/ansible-community/molecule-libvirt/issues/13 and join the effort. At this moment there is only a driver skeleton there, with CI enabled that has libvirt installed, making very easy to add the missing create/destoy pieces.

goneri commented 4 years ago

Thanks @ssbarnea, I've started that an experimental driver: https://github.com/virt-lightning/molecule-virt_lightning