Ansible Playbook for Cisco IOS Upgrade

Опубликовано: 28 Сентябрь 2024
на канале: Roger Perkin
23,049
607

In this video I will be using an Ansible Playbook for Cisco IOS Upgrade on a 2960 switch.

✅ Subscribe to my Channel and get more great tips
https://www.youtube.com/rogerperkin/?...
My Ansible Network Automation Course / https://www.rogerperkin.co.uk/

Check out my courses
https://www.rogerperkin.co.uk/network...

This will step you through every step of the way on how to perform this task.

Have you got 100’s or 1000’s of Cisco switches or routers to perform a software upgrade on?

Looking for a simple way to upgrade Cisco IOS remotely? Or perform the task without manually logging into each device?

Ansible is a great way to perform software upgrades on network devices.

This Ansible Playbook will upgrade your Cisco IOS switches with ease!

🎞️ - Video Chapters
00:00 Playbook Introduction
01:14 Check current image with Ansible ios_facts
02:40 Backup running-config
04:10 Ansible net_put module to copy image
06:36 Change boot variable
07:00 Reload Switch
07:51 Ansible cli_command module
10:36 Live Playbook run


#networkautomation #netdevops #ansible

NOTE: The advice given here is purely for educational purposes. Please test this upgrade process out before pressing the button on 100’s of devices. Every network environment is different. Ensure you are 100% happy with the process before updating multiple Cisco switches in a production environment. I cannot be held responsible for any outages caused by Cisco switches failing to reboot!