Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
/ ansible-junos-ztp Public archive

Sample project that use Ansible to automate setup and management of a ZTP server to provision Junos devices with software and startup configuration.

License

Notifications You must be signed in to change notification settings

titom73/ansible-junos-ztp

Repository files navigation

Build Status

Ansible to configure and update ZTP server

Sample project using Ansible to setup and manage ZTP server.

In this project you'll find:

  • (1) A role to install all software on the remote server with Playbooks and variables based on Ubuntu/Debian system.
  • (2) Severals ansible roles packaged and documented into Ansible roles to configure DHCP server and to deploy configuration files on all remote ZTP servers (FTP).
  • (3) Examples of ZTP configurations files.
  • (4) Playbook to play with ZTP roles and update ZTP in a more complex project.

Info on ZTP server

A Complete description of Zero Touch Provisionning (ZTP) is available on Juniper.net http://www.juniper.net/techpubs/en_US/junos15.1/topics/concept/software-image-and-configuration-automatic-provisioning-understanding.html

1. Ansible project to manage ZTP server

This project is managing the creation of a ZTP server running on a Debian like OS

  • ISC-DHCP-Server is used as part of the DHCP server to provide IP address on the management network.
  • VSFTPd is used to publish device's configuration and software packages.

All devices names, Ip addresses loopback addresses etc .. are defined in the inventory file named hosts.ini.

2. Playbooks

Available playbooks are listed below:

3. Variables

All variables are stored in the vars.yaml and ztp-variables.yaml. Description is available in this directory.

4. Additional information

More detailled information are available in the wiki section of this repository

5. Contributing

Please refer to the file CONTRIBUTING.md for contribution guidelines.

About

Sample project that use Ansible to automate setup and management of a ZTP server to provision Junos devices with software and startup configuration.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published