Closed jas2061461 closed 5 years ago
Resolved this by installing via these instructions instead of just "pip install jsnapy"
Step 1: Update package list
sudo apt-get update
Step 2: Install OS packages required by Junos JSNAPy and it's pre-requisite Python packages
sudo apt-get install -y --force-yes python-dev libxslt1-dev libssl-dev libffi-dev
Step 3: Install the pip package manager from source
wget https://bootstrap.pypa.io/get-pip.py -O - | sudo python
Step 4: Install Junos JSNAPy
sudo pip install git+https://github.com/Juniper/jsnapy.git
Description of Issue/Question
When I try to execute a playbook referencing the jsnapy module, I receive an error about the jsnapy installation. Other modules within juniper.junos Ansible library work fine e.g. juniper_junos_config, juniper_junos_rpc. Also, Jsnapy from the CLI and from a Python script work just fine. Not sure what's wrong.
Playbook
Output
Versions Report
Juniper.junos Library Directory
Ansible Galaxy Info