Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
This example will show how to use Ansible to upgrade your Juniper network devices.
In addition to the Ansible playbook, this project also ships with additional tools to help you along your way. You will find a Dockerfile for running the project in an isolated environment, and an Invoke tasks file for those of us that hate typing out everything all the time.
How it works
Ansible will build a NETCONF session to the device and manage the upload / upgrade process. In this example, a web server running NGINX is hosting the image.
Let's take a second to review the documentation in the files/docs/ directory.
files/docs/