IOS_BGP Cisco issue

Hi There,

I have a problem when I try to use ios_bgp module below is the details:

Ansible Version
ansible 2.8.1
config file = /etc/ansible/ansible.cfg
configured module search path = [u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’]
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.15+ (default, Nov 27 2018, 23:36:35) [GCC 7.3.0]

Playbook:
root@ubuntu:/etc/ansible# cat BGP.yml

Hi Michael,

ios_bgp only supports connection: network_cli. You are using connection: local with provider dict, hence its failing.

Thanks!