Skip to content

colin-mccarthy/ansible_cisco_ios_upgrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of Cisco image upgrade with Ansible

This repo contains examples of playbooks and roles that upgrade an image on a switch using the ios_command module and ansible-network.network_engine.

One of the use cases for Ansible and the networking modules is to grab information in real time from the network. These tasks will do just that, including verify available disk space as well as which files the device currently has on flash.

Cisco 4500-X

Copy Role

copy_flow

Install Role

install_flow

4500_roles.yml

---
- name: UPGRADE 4500X FIRMWARE
  hosts: all
  connection: network_cli
  gather_facts: no
  roles:
    - ansible-network.network-engine
    - 4500_copy_image
    - 4500_install_image


About

Example of Cisco image upgrade with Ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published