Closed xibriz closed 4 months ago
v3.18.0
ansible [core 2.16.6] python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/usr/bin/python3) jinja version = 3.1.3 libyaml = True
v4.0.2
3.10
The following task works fine in Netbox v3.7.2 but not in v4.0.2:
- name: Create site netbox.netbox.netbox_site: netbox_url: URL netbox_token: TOKEN data: name: Test slug: test state: present
TASK [Create site] *** ok: [localhost]
TASK [Create site] *** fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to establish connection to NetBox API"}
Related to https://github.com/netbox-community/pynetbox/issues/612
Ansible NetBox Collection version
v3.18.0
Ansible version
NetBox version
v4.0.2
Python version
3.10
Steps to Reproduce
The following task works fine in Netbox v3.7.2 but not in v4.0.2:
Expected Behavior
TASK [Create site] *** ok: [localhost]
Observed Behavior
TASK [Create site] *** fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to establish connection to NetBox API"}