proxmox module?

I just heard about Ansible at DrupalCorn Camp. Found this thread while looking for a proxmox module. Do you have any progress to report?

Nobody’s submitted anything.

I’m open to including one.

Any more progress to report?

We’re using ansible to run pvesh from shell to manage / configure prox hosts and … it’s tedious and not as pretty as the rest of our playbook.

Also, not easy to reconfigure a container by simply editing the container’s yml.

~brian

This might be a great time to write a module yourself!

Yes, it does.

I was really hoping someone else had so I could avoid re-inventing that wheel.

Ah well: time to go and learn things.

~brian

If the wheel does not exist, it is being invented for the first time!

I am giving this a try and created a ansible module to manage proxmox container.
It uses the proxmoxer library to communicate with proxmox via the API.

At this stage this modules stability is at “works for me”, I’ll need to do a bit more work to document and add some examples and make sure it works on more than my server.
I’ll create a module for managing VM’s at some stage for now I am only using containers.

The module can be found here: https://github.com/martinslabber/ansible_modules-proxmox
I’ll appreciate more experienced ansible users to comment on it, I am very new to ansible.

Regards
Martin