Hi,

I have prepared a script for of IOS upgrade activity. Please review and 
give me your suggestions/scope for improvement, etc
I have prepared the scirpt for pre-upgrade tasks only as of now. 
https://drive.google.com/file/d/17iSDtyTp48zIZPi41C-UXXdS3nXck6yY/view?usp=sharing

PRE-UPGRADE TASKS:

1. Check the IOS version running on device currently. If necessry image is 
running, skip further steps

2. Assuming ios need to be upgraded, check if necessary image is already 
there in flash or not

3. If image is not present, check if sufficient space is available

4. Initiate copying of ios image

5. Ensure image has been successfully copied and do MD5 verification

6. Set boot statement

7. write to memory

 

IOS UPGRADE TASK:

1. Ensure boot statement is set

2. take backup

3. write memory

4. reload

5. wait for 30 minute and check if image has upgraded

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/df0b4e3b-b36d-47d6-8662-3d23a76f735bn%40googlegroups.com.

Reply via email to