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*
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
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
> *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
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:*
**
**
**
* *
*
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