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

On Thursday, August 5, 2021 at 6:37:22 PM UTC+1 David Hodgson wrote:

> 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 
> <https://docs.ansible.com/ansible/devel/collections/community/general/lxd_inventory.html>
>  
> to:
> 1. run on (one of) the LXD hosts
> 2. return inventory entries that will proxy the ansible commands for the 
> LXD containers via the LXD host.
>
> Thanks
> David
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c619d166-2769-46cf-86d5-f58fade819f7n%40googlegroups.com.

Reply via email to