3

Is there any elegant way to manipulate OpenVZ containers with Ansible?
Sure I can install an SSH daemon on each and put my public keys, but as soon as there is a vzcl enter command maybe there is a possibility to use it somehow?
I've searched the Internet for any Ansible roles and modules allowing to do that, but there are only ones for setting up the OpenVZ node itself.

Also it would be quite cool if I could restart containers, destroy then and so on.

3

I'm developing openvzmod, yet another role with modules to manage OpenVZ containers. Please give it a try and drop me a line at the issue tracker if you have any comments.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.