[Solved] - API query via ANSIBLE under Netbox 4.0+ #17025
-
Hi, The POC must move to the testing phase, and for this, I've created a new machine with the same system configuration. But it's more up-to-date with the Netbox version (4.0.7). I've imported my Ansible role to manage our infrastructure. When I try the command:
I'm going in circles trying to find out why I have this error, and I'm not getting anywhere. Is a minimum amount of information required in Netbox to be able to use Ansible in Create mode? The first task of my role is to create a site. I've seen that the configuration.py has evolved between the two versions. Thank you for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I just found out that the version of python3-pynetbox on Debian 12 was only at 7.0.0-1, while the issue #1265 recommends upgrading to 7.34. |
Beta Was this translation helpful? Give feedback.
-
I can confirm that the solution lies in the update of python3-pynetbox.
|
Beta Was this translation helpful? Give feedback.
I can confirm that the solution lies in the update of python3-pynetbox.
Since the repositories are not up-to-date, we can proceed as follows: