Hello everyone,
Over the last few months I've been developing and ansible playbook to create several VM's on my proxmox server.
So far so good however I want now to get this to full production and tried the same playbook agains my new server and I can't seem to connect to API.
Here's what I've done
* Installed Proxmox
* Changed to no-subscription repository
* Updated and rebooted
* Created an user
* Created and API token
* Gave Administrator permissions to user and API token
* Ran ansible playbook which installed the following packages on proxmoxserver and tried to create a VM
python3-proxmoxer
python3-requests
I get this error:
proxmoxer.backends.https.AuthenticationError: Couldn't authenticate user: ansible@pve to https://172.27.1.200:8006/api2/json/access/ticket
I've formatted this new machine like 3 times and it's always the same :\
anyone here have any ideas?
Over the last few months I've been developing and ansible playbook to create several VM's on my proxmox server.
So far so good however I want now to get this to full production and tried the same playbook agains my new server and I can't seem to connect to API.
Here's what I've done
* Installed Proxmox
* Changed to no-subscription repository
* Updated and rebooted
* Created an user
* Created and API token
* Gave Administrator permissions to user and API token
* Ran ansible playbook which installed the following packages on proxmoxserver and tried to create a VM
python3-proxmoxer
python3-requests
I get this error:
proxmoxer.backends.https.AuthenticationError: Couldn't authenticate user: ansible@pve to https://172.27.1.200:8006/api2/json/access/ticket
I've formatted this new machine like 3 times and it's always the same :\
anyone here have any ideas?