Comments (4)
ansible 2.7.2
config file = /home/4032956/Documents/network-automation/ansible.cfg
configured module search path = ['/home/4032956/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/4032956/.pyenv/versions/3.6.6/envs/network-automation/lib/python3.6/site-packages/ansible
executable location = /home/4032956/.pyenv/versions/3.6.6/envs/network-automation/bin/ansible
python version = 3.6.6 (default, Jul 23 2018, 12:40:23) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]
ansible-network.juniper_junos version == v2.7.1
from juniper_junos.
@lukerussell It seems there are two different issues one for connection=network_cli and other for connection= netconf
For network_cli:
Have you modified get_facts_command_map.yaml
to give rpc
as an input? The error log shows run rpc command
task in includes/cli/run.yaml
fails, which will be invoked when rpc is given as input in get_facts_command_map.yaml
.
For network_cli transport, rpcs
are not supported. I now realize that I need to add check in includes/cli/run.yaml
to throw an error in case rpc is given as input with cli transport.
For netconf:
msg: jxmlease is required but does not appear to be installed.
This seems more like an environment issue. The junos_command module that ships with ansible package requires jxmlease
library to convert xml to json. Can you please check if the python executable path that run junos_command.py file has jxmlease
installed.
from juniper_junos.
needs_info
from juniper_junos.
.
from juniper_junos.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juniper_junos.