Issue with iosxr_bgp module

Hello,

Anyone using iosxr_bgp? If yes, can you share a sample working playbook?

I built one using example given here: https://docs.ansible.com/ansible/latest/modules/iosxr_bgp_module.html but it doesn’t work.

My test playbook

Hi Anurag,

Based on the error message, it seems you’re passing provider dict. This not supported. {ios, eos, iosxr, frr}_bgp modules support only ansible_connection: network_cli and not ansible_connection: local.

Thanks!

That was exactly the problem. Changed to ansible_connection: network_cli and it worked.
Hope to see the same dependency on the module documentation page.

Thanks, Nilashish!