diff options
Diffstat (limited to 'test/integration/targets/nxos_install_os/tasks/upgrade/install_os.yaml')
-rw-r--r-- | test/integration/targets/nxos_install_os/tasks/upgrade/install_os.yaml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/integration/targets/nxos_install_os/tasks/upgrade/install_os.yaml b/test/integration/targets/nxos_install_os/tasks/upgrade/install_os.yaml index 6dc811cdc7..2c0dac2639 100644 --- a/test/integration/targets/nxos_install_os/tasks/upgrade/install_os.yaml +++ b/test/integration/targets/nxos_install_os/tasks/upgrade/install_os.yaml @@ -1,15 +1,15 @@ --- - include: targets/nxos_install_os/tasks/upgrade/delete_files.yaml - when: delete_image_list is defined + when: delete_files -- include: targets/nxos_install_os/tasks/upgrade/copy_kick_system_images.yaml - when: copy_images is defined +- include: "targets/nxos_install_os/tasks/upgrade/copy_kick_system_images.yaml ansible_connection=network_cli connection={{ cli }}" + when: copy_images - include: targets/nxos_install_os/tasks/upgrade/install_with_kick.yaml - when: ki is defined and combined is undefined + when: ki is defined - include: targets/nxos_install_os/tasks/upgrade/install_system.yaml - when: combined is defined + when: ki is undefined # Only needed when - meta: reset_connection does not work. Fixed in 2.6 #- include: targets/nxos_install_os/tasks/upgrade/clear_persistent_sockets.yaml @@ -19,6 +19,7 @@ - name: "Check installed OS for newly installed version {{ tv }}" nxos_command: commands: ['show version | json'] + provider: "{{ connection }}" register: output - debug: msg="Version detected {{ output['stdout_lines'][0]['kickstart_ver_str'] }}" |