Hi,
I would like to deploy a VM with Ansible. I have installed proxmoxer on my pve and setup a playbook like this:
- name: test
hosts: "Proxmox"
tasks:
- name: create a vm
proxmox_kvm:
api_user: root@pam
api_password: " Password"
api_host: "default_node"
node: " pv_node"
name: "vm_name"
When i have launched it. I have this results:
"msg": "HTTPSConnectionPool(host='pr1', port=8006): Max retries exceeded with url: /api2/json/access/ticket (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3b02094ac0>: Failed to establish a new connection: [Errno -2] Name or service not known'))"
Firstly, have i done the right things ?
Have you some idea about this issue ?
Thnaks for your answers.
I would like to deploy a VM with Ansible. I have installed proxmoxer on my pve and setup a playbook like this:
- name: test
hosts: "Proxmox"
tasks:
- name: create a vm
proxmox_kvm:
api_user: root@pam
api_password: " Password"
api_host: "default_node"
node: " pv_node"
name: "vm_name"
When i have launched it. I have this results:
"msg": "HTTPSConnectionPool(host='pr1', port=8006): Max retries exceeded with url: /api2/json/access/ticket (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3b02094ac0>: Failed to establish a new connection: [Errno -2] Name or service not known'))"
Firstly, have i done the right things ?
Have you some idea about this issue ?
Thnaks for your answers.