ansible/test/integration/targets/nxos_install_os/tasks/main.yaml
Paul Belanger 9e1b19e364 Fix nxos_install_os test cases typo (#58825)
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>
2019-07-10 19:11:53 +05:30

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'