Hi there ,

i am getting following issue to connect with my Cisco CISCO2951/K9
(revision 1.1)  router any one please help me !

===================



*fatal: [router1]: FAILED! => {    "changed": false,     "msg": "Illegal
info request from server"}*
==================

root@firstansible:/etc/ansible#
## db-[99:101]-node.example.com
[IOS]
router1 ansible_ssh_user=bdcom ansible_host=210.4.64.100
ansible_network_os=ios ansible_connection=network_cli
router2 ansible_host=10.10.1.254

root@firstansible:/etc/ansible# ansible-playbook aminul1.yml -vvv
ansible-playbook 2.9.4
  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-playbook
  python version = 2.7.12 (default, Oct  8 2019, 14:14:10) [GCC 5.4.0
20160609]
Using /etc/ansible/ansible.cfg as config file
host_list declined parsing /etc/ansible/hosts as it did not pass its
verify_file() method
script declined parsing /etc/ansible/hosts as it did not pass its
verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass its
verify_file() method
Parsed /etc/ansible/hosts inventory source with ini plugin

PLAYBOOK: aminul1.yml
**************************************************************************************************************************************************
1 plays in aminul1.yml

PLAY [router1]
*********************************************************************************************************************************************************
META: ran handlers

TASK [change hostname BDCOM-TEST]
**************************************************************************************************************************************
task path: /etc/ansible/aminul1.yml:8



*fatal: [router1]: FAILED! => {    "changed": false,     "msg": "Illegal
info request from server"}*

PLAY RECAP
*************************************************************************************************************************************************************
router1                    : ok=0    changed=0    unreachable=0    failed=1
   skipped=0    rescued=0    ignored=0

root@firstansible:/etc/ansible# cat /etc/issue
Ubuntu 16.04.6 LTS \n \l

-- 
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/CAEV3LdpKBgJCgyXEUBx-M8gFJGVAT2x6xP9EcNehS3GZbaw7VA%40mail.gmail.com.

Reply via email to