Answer the question
In order to leave comments, you need to log in
How to create lxc in proxmox via ansible?
Good day to all!
I have a proxmox cluster and ansible server. The node on which I am trying to create a container has python-proxmoxer installed from the sid of the debian repository. I'm trying to create lxc:
- name: Создание контейнера
proxmox:
node: PVE-03
vmid: 115
api_user: [email protected]
api_password: password
api_host: 192.168.254.23
password: 11111
hostname: ans
ostemplate: data:vztmpl/debian-9.0-standard_9.5-1_amd64.tar.gz
fatal: [192.168.254.23]: FAILED! => {"changed": false, "msg": "authorization on proxmox cluster failed with exception: Couldn't authenticate user: ********@pam to https://192.168.254.23:8006/api2/json/access/ticket"}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question