Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Added


Container 

Installation by using a Docker container

Install juniper/pyez-ansible Docker image


docker run -it --rm -v $PWD:/project juniper/pyez-ansible ash


packages

Installation:  Redhat / Centos / Fedora

rpm -Uvh   https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

yum -y install ansible


Python install:

sudo yum -y install python-pip

sudo pip install --upgrade pip

sudo pip install ansible

Juniper python module: junos-eznc

sudo pip3 install junos-eznc


2- Python off-box and PyEZ ( python module called junos-eznc)






Ubuntu:

sudo apt-get   install ansible

Juniper Ansible package

ansible-galaxy install Juniper.junos