58f018e367
* httpapi fix nxos (#40806) * httpapi fix nxos Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * nxos_hsrp fix Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commita7421e8611
) * fix nxos_vrf and migrate get_interface_type to module_utils (#40825) Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commitb4baa2d484
) * nxos_vlan fix (#40822) * nxos_vlan fix Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * uncomment mode test as nxapi now has get_capabilities Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit17b6ecf101
) * Update nxos_install_os module (#40102) * Add nxos_install_os integration tests * Update call to check timers * Update check_ansible_timer method * Modify network_cli integration tests * Add timer check for nxos_install_os * Add comments for clear_persistent_sockets * Update connection info for tests * More updates * Restructure files for provider and non-provider testing * Update env var name and add check for ISSU switchover (cherry picked from commit9f026309a6
)
56 lines
1.9 KiB
YAML
56 lines
1.9 KiB
YAML
---
|
|
- debug: msg="START connection={{ ansible_connection }} nxos_os_install upgrade"
|
|
- debug: msg="Using provider={{ connection.transport }}"
|
|
when: connection is defined
|
|
|
|
- set_fact: checkmode='no'
|
|
- set_fact: issu='desired'
|
|
|
|
- set_fact: image_dir='/Users/mwiebe/Projects/nxos_ansible/images/'
|
|
|
|
- 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) #
|
|
#---------------------------------------------------------#
|
|
|
|
- set_fact: si='n3000-uk9.6.0.2.U6.3a.bin'
|
|
- set_fact: ki='n3000-uk9-kickstart.6.0.2.U6.3a.bin'
|
|
|
|
- name: Upgrade to U6.3a
|
|
include: targets/nxos_install_os/tasks/upgrade/main_os_install.yaml
|
|
|
|
#---------------------------------------------------------#
|
|
# Upgrade to 7.0(3)I7(3) #
|
|
#---------------------------------------------------------#
|
|
|
|
- set_fact: si='nxos.7.0.3.I7.2.bin'
|
|
- set_fact: combined='true'
|
|
|
|
- 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"
|