Mic92 / ansible-lxc

Ansible Connection Plugin for lxc containers (https://linuxcontainers.org/)
GNU General Public License v3.0
17 stars 6 forks source link

Has ansible-lxc been tested with unprivileged containers? #3

Closed joaocc closed 9 years ago

joaocc commented 9 years ago

Hi @Mic92, Have you tested this with unprivileged containers (https://help.ubuntu.com/lts/serverguide/lxc.html#lxc-unpriv)? Thx

Mic92 commented 9 years ago

Not yet. But it should not make any difference, as unprivileged containers also use lxc-attach. If you install containers in $HOME/.lxc, you have to run ansible with the same user of course. Just open an issue in case of problems.

joaocc commented 9 years ago

I haven't started using them. Still evaluating what is the impact in things like auto-start, ip assignment and compatibility with overlayfs and/or btrfs (seems to only support ZFS and BTRFS).

If/when we decide to use it, I will try to integrate with ansible-lxc and will let you know.