On 10.04.2018 11:47, Richard Hector wrote:
I can't see how to use this at all without being root.

Add your user to the lxd group (your distro might use another group name for access)

On 08/04/18 00:28, Richard Hector wrote:
Hi all,

I'm trying to use the lxc connection plugin, but it says that my
container isn't running. Presumably that's because ansible isn't running
as root. Is there a way to tell it to sudo before connecting?

You can run sudo ansible-playbook and/or sudo ansible.

Kai Stian Olstad

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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to