Hi,

I'm using debops and lxc on vagrant-manages boxes. The "vagrant ansible integration" plugin (vai) enables accessing the machines and by passing some variables for the containers I can access the containers.

Anyhow, lxc_ssh requires to execute lxc-attach as root.

Thus I"m seeking either

1) How to make lxc_ssh support ‘become’?

2) Add the ssh-key of user "vagrant" to the authorized keys in the machine?

The key is in .vagrant/machines/{{hostname}}/virtualbox/private_key

Debian 11.5
debops stable-2.3 head (d05c00e2f43790ff6)
ansible-6.5.0 with ansible_core-2.13.5

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |