Hi !
I want to deploy lxc cluster with ansible and configure them.
It's easy to deploy lxc with proxmoxer plugin, python needs only a plugin from github.
But, once deployed, lxc containers are not usable with SSH so I've searched a solution to configure my lxc.
A solution is to change the ansible connection driver with ansible-lxc (https://github.com/ansible-collections/community.general/blob/main/plugins/connection/lxc.py).
It needs python3-lxc but when I try to install it I have pve-apt-hook which stops because it thinks I want to remove proxmox-ve cause of the liblxc1 package.
Do you know how can I install it or did you know an other solution to deploy base lxc image and configure them ?
i can do pct commands but I lose benefits of ansible.
And the best solution imo is to avoid to install deps in the host but it needed if I want to configure my lxc.
I use alpine pour base image but I can use debian.
EDIT : I'm in a totally offline env. So, I'm checking if it's not my apt repo the problem.
Thanks !
I want to deploy lxc cluster with ansible and configure them.
It's easy to deploy lxc with proxmoxer plugin, python needs only a plugin from github.
But, once deployed, lxc containers are not usable with SSH so I've searched a solution to configure my lxc.
A solution is to change the ansible connection driver with ansible-lxc (https://github.com/ansible-collections/community.general/blob/main/plugins/connection/lxc.py).
It needs python3-lxc but when I try to install it I have pve-apt-hook which stops because it thinks I want to remove proxmox-ve cause of the liblxc1 package.
Do you know how can I install it or did you know an other solution to deploy base lxc image and configure them ?
i can do pct commands but I lose benefits of ansible.
And the best solution imo is to avoid to install deps in the host but it needed if I want to configure my lxc.
I use alpine pour base image but I can use debian.
EDIT : I'm in a totally offline env. So, I'm checking if it's not my apt repo the problem.
Thanks !
Last edited: