2018-05-29 17:37:57 +02:00
|
|
|
---
|
2019-06-06 06:05:08 +02:00
|
|
|
# Upgrade using SSH
|
|
|
|
- include: network_cli.yaml
|
2019-07-10 15:41:54 +02:00
|
|
|
when: ansible_connection == 'network_cli'
|
2019-06-06 06:05:08 +02:00
|
|
|
|
|
|
|
# Upgrade using NX-API
|
|
|
|
- include: httpapi.yaml
|
2019-07-10 15:41:54 +02:00
|
|
|
when: ansible_connection == 'httpapi'
|
2019-06-06 06:05:08 +02:00
|
|
|
- include: nxapi.yaml
|
2019-07-10 15:41:54 +02:00
|
|
|
when: ansible_connection == 'local'
|