setup ansible module proxmoxer

Issue

This Content is from ServerFault. Question asked by proxyd43

i got near from zero skills with ansible.

I need to setup the proxmoxer module to do verify_ssl=false because i have this kind of error :

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='curiosity', port=8006): Max retries exceeded with url: /api2/json/access/ticket (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f21f8f679d0>, 'Connection to curiosity timed out. (connect timeout=5)'))

i read the documentation saying it’s possible to changer the backend with openssh or ssl verification option :

https://proxmoxer.github.io/docs/1.2/basic_usage/

as i never wrote an ansible plugin i got zero idea how i can setup this module.

i tried to edit :

/lib/python3.10/site-packages/proxmoxer/core.py

but got no clue what to do.

Need a hint please.

Thanks.



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from serverfault, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?