2018-05-29 15:37:57 +00:00
|
|
|
---
|
|
|
|
- debug: msg="START connection={{ ansible_connection }} nxos_os_install upgrade"
|
|
|
|
- debug: msg="Using provider={{ connection.transport }}"
|
|
|
|
when: connection is defined
|
|
|
|
|
2018-11-20 04:44:15 +00:00
|
|
|
- set_fact: image_dir='/Users/mwiebe/Projects/nxos_ansible/images/'
|
|
|
|
|
2018-05-29 15:37:57 +00:00
|
|
|
- set_fact: checkmode='no'
|
|
|
|
- set_fact: issu='desired'
|
2018-11-20 04:44:15 +00:00
|
|
|
- set_fact: copy_images=True
|
2018-05-29 15:37:57 +00:00
|
|
|
|
2018-11-20 04:44:15 +00:00
|
|
|
# Set boot pointers and reload
|
|
|
|
- set_fact: force=False
|
2018-05-29 15:37:57 +00:00
|
|
|
|
2018-11-20 04:44:15 +00:00
|
|
|
- set_fact: delete_files=True
|
2018-05-29 15:37:57 +00:00
|
|
|
- set_fact:
|
|
|
|
delete_image_list:
|
|
|
|
- nxos.7.0.3.I7.2.bin
|
|
|
|
- nxos.7.0.3.I7.3.bin
|
|
|
|
|
|
|
|
#---------------------------------------------------------#
|
|
|
|
# Upgrade to 6.0(2)U6(1a) #
|
|
|
|
#---------------------------------------------------------#
|
|
|
|
|
|
|
|
- set_fact: si='n3000-uk9.6.0.2.U6.1a.bin'
|
|
|
|
- set_fact: ki='n3000-uk9-kickstart.6.0.2.U6.1a.bin'
|
|
|
|
|
|
|
|
- name: Upgrade to U6.1a
|
|
|
|
include: targets/nxos_install_os/tasks/upgrade/main_os_install.yaml
|
|
|
|
|
|
|
|
#---------------------------------------------------------#
|
|
|
|
# Upgrade to 6.0(2)U6(2a) #
|
|
|
|
#---------------------------------------------------------#
|
|
|
|
|
|
|
|
- set_fact: si='n3000-uk9.6.0.2.U6.2a.bin'
|
|
|
|
- set_fact: ki='n3000-uk9-kickstart.6.0.2.U6.2a.bin'
|
|
|
|
|
|
|
|
- name: Upgrade to U6.2a
|
|
|
|
include: targets/nxos_install_os/tasks/upgrade/main_os_install.yaml
|
|
|
|
|
|
|
|
#---------------------------------------------------------#
|
|
|
|
# Upgrade to 6.0(2)U6(3a) #
|
|
|
|
#---------------------------------------------------------#
|
|
|
|
|
2018-11-20 04:44:15 +00:00
|
|
|
- set_fact: si='n3000-s2-dk9.8.0.1.bin'
|
|
|
|
- set_fact: ki='n3000-s2-kickstart.8.0.1.bin'
|
2018-05-29 15:37:57 +00:00
|
|
|
|
|
|
|
- name: Upgrade to U6.3a
|
|
|
|
include: targets/nxos_install_os/tasks/upgrade/main_os_install.yaml
|
|
|
|
|
|
|
|
#---------------------------------------------------------#
|
2018-11-20 04:44:15 +00:00
|
|
|
# Upgrade to 7.0(3)I7(2) #
|
2018-05-29 15:37:57 +00:00
|
|
|
#---------------------------------------------------------#
|
|
|
|
|
|
|
|
- set_fact: si='nxos.7.0.3.I7.2.bin'
|
|
|
|
|
|
|
|
- name: Upgrade to 7.0.3.I7.2
|
|
|
|
include: targets/nxos_install_os/tasks/upgrade/main_os_install.yaml
|
|
|
|
|
|
|
|
- debug: msg="END connection={{ ansible_connection }} nxos_os_install upgrade"
|