-
I'm running into this well known error with the following environment: Ansible Controller (Debian 11):
Netbox Server (FreeBSD Jail 13.1):
Playbook:
It doesn't matter which module I will use, the error remains the same. The debuged error (with -vvv):
The token is the generated token, which also works by REST (with Insomnia). What seems strange to me, is this part in the error message:
This looks like, if the module is trying to get the netbox version from the localhost - which is the ansible controller. Side topic:About the "validate_certs" option in the playbook: Very strange. The Netbox-URL is reachable by HTTPS, no certification errors (wether if checked with a Webbrowser, or the openssl command). It is also possible to do all things by REST with Insomnia. The certificate is a valid PKI certificate, the chain is also valid and the CA certificate is installed systemwide. So I have no idea, why the module needs this option explicit with the path to the certificate.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Update: No changes with Ansible v2.13.3 and also the same behaviour with another Netbox Server hosted on Debian 11. |
Beta Was this translation helpful? Give feedback.
-
Update2: Same error with Netbox 3.3.2 on Debian 11. |
Beta Was this translation helpful? Give feedback.
-
I ended up writing the Playbooks/Tasks with the built in uri module. With this everything works as expected. |
Beta Was this translation helpful? Give feedback.
I ended up writing the Playbooks/Tasks with the built in uri module. With this everything works as expected.