mhite / ansible-junos-stdlib

Junos modules for Ansible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ABOUT

Ansible modules to support Junos network build automation use-cases. Developed for Ansible 1.5. This library is not currently part of the Ansible distribution. Please refer to INSTALLATION section for setup.

OVERVIEW OF MODULES

Work in progress, please see library directory for modules. The modules are documented per-Ansible guidelines; look for the DOCSTRING within each file.

INSTALLATION

This repo assumes you have the DEPENDENCIES installed on your system. You can then git clone this repo and run the env-setup script in the repo directory:

user@ansible-junos-stdlib> source env-setup

This will set your $ANSIBLE_LIBRARY variable to the repo location and the installed Ansible library path. For example:

[jeremy@ansible-junos-stdlib]$ echo $ANSIBLE_LIBRARY
/home/jeremy/Ansible/ansible-junos-stdlib/library:/usr/share/ansible

Alternatively you can copy the files in the library directory into the ansible installed directory: library/net_infrastructure

DEPENDENCIES

Thes modules require the following to be installed on the Ansible server:

About

Junos modules for Ansible

License:Apache License 2.0