On 13. aug. 2017 01:10, 'Florian' via Ansible Project wrote:
I hope this is the right place to ask, if not please let me know.

It's the correct place.

So I tried the following playbook task:

- name: 'Create Proxmox container'
     proxmox: 'api_host=moon api_user=root api_password=<not-shown> vmid=200
hostname=ansible-test01 ip_address= ostemplate=my-template.tgz
password=<not-shown> state=present'

Whatever I try, the module tells me "authorization on proxmox cluster
failed with exception: Couldn't authenticate user".
Do I need to setup something special in Proxmox? On the Web GUI (Port 8006)
the logins works without issues.

Ansible documentation and Proxmox api documentation say you should use username root@pam , have you tried that?

Kai Stian Olstad

You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to