Re: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-16 Thread Ajay Kumar Manukonda
}}/{{ inventory_hostname > }}/running-config_{{ timestamp.stdout }}" > > ... > > > > My problem now is I can save only first command, cannot save the other two > in file, do you have any suggestion how to save all commands output in one > file? > > > &g

RE: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-14 Thread Michael Ikram
l commands output in one file? Thank you, Michael From: Ajay Kumar Manukonda Sent: Friday, 10 August 2018 10:23 AM To: ansible-project@googlegroups.com Subject: Re: [ansible-project] Re: cannot login to cisco switch using ansible At this point, I am almost out of ideas. I am sorry, I couldn't be

Re: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-09 Thread Michael Sawires
> ***************************** >> >> task path: /etc/ansible/ios.yml:2 >> >> Using module file >> /usr/lib/python2.7/dist-pac

Re: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-09 Thread Ajay Kumar Manukonda
64@10.11.32.100: > Permission denied (publickey,keyboard-interactive,password).\r\n", > > "unreachable": true > > } > > [WARNING]: Could not create retry file '/etc/ansible/ios.retry'. > [Errno 13] Permission denied: u'/etc/ansible/ios.

RE: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-09 Thread Michael Ikram
* 10.11.32.100 : ok=0 changed=0 unreachable=1failed=0 netadmin@netadmin-Virtual-Machine:/etc/an

RE: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-09 Thread Michael Ikram
ndows 10 From: Ajay Kumar Manukonda Sent: Friday, 10 August 2018 9:59 AM To: ansible-project@googlegroups.com Subject: Re: [ansible-project] Re: cannot login to cisco switch using ansible Hi Michael, "ansble all -m ping , it gives the same errorĀ  Permission denied (publickey,keyboard-interac

Re: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-09 Thread Ajay Kumar Manukonda
t;>>>> error: >>>>> >>>>> >>>>> >>>>> ansible all -i , -c network_cli -u -m >>>>> ios_command_1.yml >>>>> >>>>> [WARNING] Ansible is in a world writable directory (/etc/ansible), >>>>

Re: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-09 Thread Michael Sawires
t;> >>>> 10.11.32.100 | FAILED! => { >>>> >>>> "msg": " [WARNING] Ansible is in a world writable directory >>>> (/etc/ansible), ignoring it as an ansible.cfg source.\n{\"socket_path\": >>>> \"

Re: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-09 Thread Ajay Kumar Manukonda
raceback (most >>> recent call last):\\n File \\\"/usr/bin/ansible-connection\\\", line 87, >>> in start\\nself.connection._connect()\\n File >>> \\\"/usr/lib/python2.7/dist-packages/ansible/plugins/connection/network_cli.py\\\", >>> line 302, in _c

Re: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-09 Thread Michael Sawires
;local domain socket does not exist, starting it\", >> \"control socket path is /home/test/.ansible/pc/c5b7c67eba\", \"\"], >> \"error\": \"global name 'ssh' is not defined\"}" >> >> } >> >> >> &

Re: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-09 Thread Ajay Kumar Manukonda
not defined\"}" > > } > > > > Do you know any straight forward fix? > > > > Thanks, > > Michael > > > > *From: *Michael Ikram > *Sent: *Thursday, 9 August 2018 10:24 AM > *To: *ansible-project@googlegroups.com > *Subject: *RE: [ansible

RE: [ansible-project] Re: cannot login to cisco switch using ansible

2018-08-08 Thread Michael Ikram
/etc/ansible sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin - I think I have bigger issue than Ansible now, it is a permission issue on Ubuntu box, any suggestions? Thanks, Michael From: Ajay Sent: Thursday, 9 August 20

[ansible-project] Re: cannot login to cisco switch using ansible

2018-08-08 Thread Ajay
This might solve your issue: https://medium.com/@andrewhowdencom/the-curious-case-of-sudden-ansible-build-failures-eef1cf9ad1d0 If it doesn't, can you also post the file permissions and content of ansible.cfg and ios_facts.yml? Regards, Ajay On Wednesday, August 8, 2018 at 8:32:19 AM UTC-7, M