This project will create templates for Cisco IOS devices
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.
- 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
- 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
git clone https://github.com/castironclay/ansible.git
cd ansible
pip install -r requirements.txt
- from the location of the playbook, run
ansible-playbook playbooks/eve-devices.yml
- Files will be placed in /tmp/eve/
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
- Router files
roles/eve-router/templates
roles/eve-router/vars
- Switch files
roles/eve-switch/templates
roles/eve-switch/vars
I use SemVer for versioning
- PyCharm Professional - IDE Used
- Ansible - Automation Framework
- EVE - Network Lab
- PIP - Python PIP v18.1
- Clay Coppage