Hi,
I am quite desparate already. I want to use the netbox_interface module in ansible, but it fails. To check it, I use the uri module:
- name: URI
uri::
method: GET
header:
Accept: application/json
Authorization: Token XXXX
validate_certs: false
This works without a problem.
Now the play
- name: netbox interface
netbox_interface:
netbox_token: XXXX
data:
device: switch01
name: GigabitEthernet1
state: present
validate_certs: false
Results in the error: "Failed to establish connection to Netbox API"
pynetbox is installed and works.
Ideas?