Proxmox and Ansible

SergeyM

New Member
Oct 22, 2015
3
0
1
Greetings! I have some issue which i cannot solve with ansible and cannot fint in the web: pveversion:-vproxmox-ve: 4.0-16 (running kernel: 4.2.2-1-pve)pve-manager: 4.0-48 (running version: 4.0-48/0d8559d0)pve-kernel-4.2.2-1-pve: 4.2.2-16With trying to create/stop/delete virtual container by ansible i got error:fatal: [192.168.0.216]: FAILED! changed": false, "failed": true, "msg": "creation of VM 100 failed with exception: 501 Not Implemented"When i create VM100 manually and trying to delete it by ansible - it says that already exists, so connection everytime is establishing...What could it be? problem with Proxmox, or ansible?
 
Problem with Ansible. Between 3.4 and 4.0 some things changed in our API (mainly though the switch to LXC), here Ansible tries to call an API method which is in existent.

http://docs.ansible.com/ansible/proxmox_module.html Seems like this is outdated, what would explain the problems.

btw. Can you try to fix your formatting, it would make it a lot easier to understand the problem and so also helping you.
 
it seems that just command "-Proxmox" doesnt working... with simple "command" it can create containers, i think thats enough for now for me...I tried to fix formatting - it become always such as now... well, i think that topic can be closed.Thanks for responding
 
Hi There,
For information I opened an issue on Ansible's github reporting the proxmox module was broken.
You can follow the status of the bug at ansible/ansible-modules-extras/issues/1217 (sorry I can't post url now)

Regards
 
Hello there,

I am using proxmox for the first time here, but I am used to work with ansible.
I just wanted to know if it is possible to create containers with multiple network interfaces using ansible proxmox module?
Thank you for your help,

Best regards.