[ansible-project] How do I use information from Dynamic Inventory Dictionary _meta when executing on localhost?

2018-02-10 Thread Isaac Kane Egglestone
Excuse me if this has been covered in another post, I have searched diligently in documentation and on this group however the wording could be very different depending on the interpretation. If this is covered anywhere already then I apologise and just let me know where so I can read about it

[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