I wanted to reach out and see if anyone has attempted to utilize Ansible to upgrade EOS. We have a number of switches that are in severe need of upgrades, and I will have to be upgrading multiple times to keep ISSU intact. I am in the midst of creating the playbook now and would love some anecdotal comments. I think the biggest hurdle right now is figuring out how to copy the new images to the switches. I appreciate your time!
Have a look at this role:
We use the install source command to do the copying. You can source the copy from any of your favorite flavors of transfer protocols (scp, http, ftp, sftp, tftp, etc).
Feel free to send firstname.lastname@example.org a note if you have any questions.
Marked as spam
Ahh perfect! Thank you so much. From the looks of the playbook, this checks and makes sure the switch comes back up after reloading. I was playing around with gathering MLAG status and setting it as a fact in order to utilize the wait_for directive. Would I be able to easily check/verify the MLAG is active before reloading the other switch of the pair? Thanks again!
Thank you so much! This definitely helps for sure, and I will start testing. It appears this playbook also verifies the switch comes up before moving on. I like this piece and was playing around with going further. I have a number of upgrades to do, so both switches in the MLAG pair will be reloading a couple times. I would like to set the MLAG status as a fact and utilize the wait_for directive. Would this be feasible? Thanks again!
Post your Answer
You must be logged in to post an answer.