Kai,
On 13/07/16 15:27, Kai wrote:
> Mark, Toshaan,
>
> thanks for your answers.
> So it's not possible using only the provided modules, you have to invoke
> shell commands as well.
Well, it should be possible, with the virt module, run a install XML and
then run the post install XML, then you would only use the template and
the virt module, however since the virt-install module does this much
better and I haven't figured a way how to write an acceptable and nice
virt-install ansible module, I use a shell script
> You both use a module "qemu-img" which doesn't seem to be provided with
> ansible by default!?
Yes, this module was not accepted by Michael very long time ago.
I just created a PR, let's see if we can get it in now.
In the mean time if you require it, you can find it at :
https://raw.githubusercontent.com/toshywoshy/ansible-vm-install/master/playbooks/library/qemu-img
, this is my old vm install playbook
>
> Thanks & cheers, Kai
>
Regards,
Toshaan.