Hi every one,
I’m trying to perform ios upgrade on a stack of 2 X 2960-XR cisco switch models using ansible but I don’t really know how to process. Here below are the step I figured out tout realize it:
- Check if the current IOS version and compare it with the upgrade image version
- Backup the running config
- Copy IOS image to the switches
- Change the boot variable
- Reload the switches
- Test the reacherbility of switches
- Validate the new installed IOS is correct
Those are the tasks to be included in my playbook. After runing the playbook, the 1rst task shows only the IOS version on master switch and i have expected to have it on both switches. I got also stuck on the 3 trd task because I only know the way to copy image on a single switch using ansible.
Could anybody help me please?