mamathac / Ansible

Ansible Integration to Junos
0 stars 0 forks source link

Ansible Integration on Junos: Module-junos_get_facts : Include support to private builds. #1

Open mamathac opened 10 years ago

mamathac commented 10 years ago

Module: junos_get_facts Host: Any host running a private build.

Description: On using the module junos_get_facts on a Juniper device running on a private build. Suppose the device is running junos image: 14.2-20140307

Yaml Code:

Error: File "/usr/local/lib/python2.7/dist-packages/jnpr/junos/facts/swver.py", line 111, in software_version pkginfo = x_swver.xpath('.//package-information[name = "junos"]/comment')[0].text
IndexError: list index out of range

Currenty the module works fine on release buids. Customer could be using private builds and support needed for this build too.

jeremyschulman commented 10 years ago

@mamathac - Please re-file this issue against the Junos PyEZ module, here.

The issue you are seeing is a function of that module, and not the ansible modules specifically.

Thank you.