did you get it resolved ? On Thursday, July 2, 2020 at 12:30:54 AM UTC+5:30 [email protected] wrote:
> 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:: > url: https://127.0.0.1/api/ > 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_url: https://127.0.0.1/ > 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? > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/64e1ca8a-d364-410c-ad16-2669ed7dc60bn%40googlegroups.com.
