9e1b19e364
This should be ansible_connection, not connection_type. We can also update local testing logic. Remove nxos_install_os/tasks/network_local.yaml as it is nolonger used. Signed-off-by: Paul Belanger <pabelanger@redhat.com>
10 lines
244 B
YAML
10 lines
244 B
YAML
---
|
|
# Upgrade using SSH
|
|
- include: network_cli.yaml
|
|
when: ansible_connection == 'network_cli'
|
|
|
|
# Upgrade using NX-API
|
|
- include: httpapi.yaml
|
|
when: ansible_connection == 'httpapi'
|
|
- include: nxapi.yaml
|
|
when: ansible_connection == 'local'
|