O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works...

Ansible is focused on dealing with Linux/UNIX systems out of the box, and some of the features don't translate perfectly smoothly to JUNOS, even if JUNOS is based upon a BSD UNIX platform. One of the first things to understand is that while Ansible itself uses SSH to communicate with most nodes, it makes some assumptions about the SSH environment that it logs in to that are typical for Linux/UNIX systems, but not necessarily appropriate for fixed applications underlying UNIX operating systems such as JUNOS.

For example, when you log in to a JUNOS device with SSH, you don't see the vanilla UNIX shell command. And you don't have direct access to the underlying UNIX command line that the base operating system brings. It isn't ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required