Hi
I have ansible on one host, and a cluster of LXD hosts, accessible via ssh. I think I’m missing something, but how do I tell the LXD inventory module to:
- run on (one of) the LXD hosts
- return inventory entries that will proxy the ansible commands for the LXD containers via the LXD host.
Thanks
David
OK, apologies. The second question is about variables for each LXD container. This would require that each container (or the whole LXD inventory) had a variable which identified the LXD host through which it’s accessible - either the host from which the inventory was analysed or the cluster host on which the container is running.
David