lxc connection plugin - sudo first?

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?

I'm aware of course of how to sudo _afterwards_, ie on the target
system, to do anything useful, but I need to connect first.

I need to do this to set up the container for ssh, so I can continue
with that later.

Thanks,

Richard

I can't see how to use this at all without being root.

Is it considered acceptable to email the plugin author directly?

Thanks,
Richard

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)

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)

I have no lxd group; I'm not using lxd. Lxc only. Perhaps this plugin
actually requires lxd? I suspect not, though; there's also an lxd plugin.

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)

I have no lxd group; I'm not using lxd. Lxc only. Perhaps this plugin
actually requires lxd? I suspect not, though; there's also an lxd plugin.

Ah I see, I'm preoccupied by lxd at the moment so they have come synonyms.