The first task within the block is to copy over the Cisco IOS image to the remote device. name : UPGRADE IOS IMAGE IF NOT COMPLIANT block : - name : COPY OVER IOS IMAGE command : " scp system-image-filename.bin " port : 22 delay : 60 delegate_to : localhost when : ansible_net_version != compliant_ios_version
0 Comments
Leave a Reply. |