mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
494 B
YAML
24 lines
494 B
YAML
7 years ago
|
---
|
||
|
- debug: msg="START TRANSPORT:NXAPI nxos_vtp_version sanity test"
|
||
|
|
||
|
- block:
|
||
|
- name: enable feature vtp
|
||
|
nxos_feature:
|
||
|
feature: vtp
|
||
|
state: enabled
|
||
|
provider: "{{ nxapi }}"
|
||
|
|
||
|
- name: configure vtp version
|
||
|
nxos_vtp_version:
|
||
|
version: 2
|
||
|
provider: "{{ nxapi }}"
|
||
|
|
||
|
always:
|
||
|
- name: disable feature vtp
|
||
|
nxos_feature:
|
||
|
feature: vtp
|
||
|
state: disabled
|
||
|
provider: "{{ nxapi }}"
|
||
|
|
||
|
- debug: msg="END TRANSPORT:NXAPI nxos_vtp_version sanity test"
|