This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

published

Ansible Playbook for DHCP & OSPF Automation on Cisco IOS

Configure IP Address, DHCP Server and OSPF automatically using Ansible

This repository contains an Ansible Playbook to Configure IP Address, DHCP Server and OSPF on Cisco IOS network devices automatically. You can automate OSPF & DHCP Configuration with differents topologies using this script. You just need to edit the vars file to meet the topology that you have. The vars file is located in https://github.com/arrosid/ansible_ospf_dhcp/blob/master/roles/generate_config/vars/main.yml

Requires

  • ansible 2.6.4

Supports

  • This script provides support for Cisco IOS

How to use

  • Ensure you setup the topology
  • Configure Management IP Address and enable SSH in the router
  • Ensure you have ansible installed on your computer
  • Edit the vars file to meet your topology
  • Run the script ansible-playbook site.yml
View code on GitHub
  • Owner

  • Contributors

    +2Github contributors
  • Categories

  • Programming Languages

  • License

    MIT License

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.