Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How about changing an LXC? #4

Open
opa-jan opened this issue Nov 6, 2022 · 1 comment
Open

How about changing an LXC? #4

opa-jan opened this issue Nov 6, 2022 · 1 comment

Comments

@opa-jan
Copy link

opa-jan commented Nov 6, 2022

Hi, the proxmox module in Ansible works great for creating containers. But how do you handle changes?
If oyu want ot give the container more memory, for example.
Of course, you can do this in the Proxmox web interface, but I want to automate everything.
If you simply change the parameters in the playbook, then Ansible will not detect the change, and just skips the proxmox task.
Currently I destroy the lxc manually first. What would be your approach?

@kolonuk
Copy link

kolonuk commented Mar 23, 2023

Not sure if you've solved this, but when using containers via Portainer on Docker, or in kubernetes, the old container is deleted and a new one created in it's place. I think that is the standard for container maintenance, considering that they are meant to be disposable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants