[ansible-project] Re: junos_command

2018-02-10 Thread Gennadiy Krokodilov
OK, Finally I got ncclient installed and it works fine (all dependencies solved), But this is what confusing me now: *2018-02-11 02:01:07,225 p=17431 u=root | ssh connection done, stating ncclient* *2018-02-11 02:01:09,832 p=17431 u=root | ncclient manager object created successfully*

[ansible-project] Re: junos_command

2018-02-10 Thread Gennadiy Krokodilov
OK, looks like I found the root cause: *VIP_CR:[root@upm1 playbooks]# python* *Python 2.6.8 (unknown, Nov 7 2012, 14:47:34) * *[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2* *Type "help", "copyright", "credits" or "license" for more information.* *>>> from ncclient import manager* *Traceback

[ansible-project] Re: junos_command

2018-02-10 Thread Gennadiy Krokodilov
Hi Ganesh, Thanks! I moved FWD and installed it from git, now it is listed in packages: *[root@server]# pydoc modules | grep -i ncc* *UserDictdatetimencclient (package) sre_parse* *[root@server]# * but I still have same error, absolutely the same. It looks to me as

[ansible-project] Re: junos_command

2018-02-08 Thread Ganesh Nalawade
> *AnsibleError: ncclient is not installed* Please install ncclient and retry. Command to install ncclient using pip: # pip install ncclient Regards, Ganesh On Friday, 9 February 2018 04:00:01 UTC+5:30, Gennadiy Krokodilov wrote: > > Boker Tov Asaf, did you managed to solve it? > > I have

[ansible-project] Re: junos_command

2018-02-08 Thread Gennadiy Krokodilov
Boker Tov Asaf, did you managed to solve it? I have exactly the same problem with ex4200 and Ansible 2.3.3. netconf is enabled on port 830 and accessible: *[ playbooks]# ssh -s -p 830 ansible@juniper_12 netconf* *Welcome to Juniper ex4300-48t * *Password:* ** ** ** * * *

[ansible-project] Re: junos_command

2017-05-08 Thread Rama Krishna
Based on the error message, authentication parameters are not passed properly to the module. I see it's using netconf; so i think you have used connection method right.. Cheers On Wednesday, April 26, 2017 at 1:01:13 AM UTC+5:30, Asif Iqbal wrote: > > I am failing to make junos_command