Skip to content
Example Ansible Play Books for Cisco Kit
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lab_rtr_configs
.editorconfig Hello World! (show clock) Mar 28, 2017
LICENSE
README.md Making Changes (set ntp/dns) Mar 29, 2017
ansible.cfg Hello World! (show clock) Mar 28, 2017
inventory.txt
secrets.yml
set_ntp.yml Making Changes (set ntp/dns) Mar 29, 2017
set_ntp_enable.yml
show_clock.yml Hello World! (show clock) Mar 28, 2017
show_clock_enable.yml Hello World! (show clock) Mar 28, 2017
show_clock_prompt.yml
show_clock_prompt_enable.yml Hello World! (show clock) Mar 28, 2017
standard_ntp_enable.yml

README.md

Ansible Cisco Primer

More details here: https://www.linickx.com/tag/ansible

REFS:

Show Command Testing - Credentials in File

  • show_clock.yml - Get the time/clock, assume Priv 15, read uid/pass from file.
  • show_clock_enable.yml - Get the time/clock, some devices require "enable"

Show Command Testing - Prompt for Credentials

  • show_clock_prompt.yml - Get the time/clock, assume Priv 15
  • show_clock_prompt_enable.yml - Get the time/clock, some devices require "enable"

Config Add

  • set_ntp.yml - Simple adding DNS/NTP servers, assume Priv 15, read uid/pass from file.
  • set_ntp_enable.yml - Adding DNS/NTP servers, some devices require "enable", take a backup, wr memif needed

Config Standardisation

  • standard_ntp_enable.yml - Standardise NTP and DNS i.e. add missing and remove wrong
You can’t perform that action at this time.