/ansible

Configuration generation and management with Ansible

Cisco IOS Configuration Builder

This project will create templates for Cisco IOS devices

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  1. Install Ansible via appropriate method: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html
  • sudo apt-get update
  • sudo apt-get install software-properties-common
  • sudo apt-add-repository --yes --update ppa:ansible/ansible
  • sudo apt-get install ansible
  1. Install PIP below:
  • sudo apt-get install python-pip

Step 1: Clone repo to local machine and copy files to appropriate directory, install pip requirements

  1. git clone https://github.com/castironclay/ansible.git
  2. cd ansible
  3. pip install -r requirements.txt

Step 2: Run test build

  1. from the location of the playbook, run ansible-playbook playbooks/eve-devices.yml
  • Files will be placed in /tmp/eve/

Step 3: Modify files to meet your needs

This repo currently is being tested by build a config for a router and a config for a switch. You can modify the vars and template files to meet your needs

  1. Router files
  • roles/eve-router/templates
  • roles/eve-router/vars
  1. Switch files
  • roles/eve-switch/templates
  • roles/eve-switch/vars

Versioning

I use SemVer for versioning

All Built With

Authors

  • Clay Coppage