mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
e7a78f4328
* refactor nxos_vrf_interface * refactor nxos_vrrp * refactor nxos_vtp_domain * refactor nxos_vtp_password * refactor nxos_vtp_version * refactor nxos_vxlan_vtep
23 lines
551 B
YAML
23 lines
551 B
YAML
---
|
|
- debug: msg="START TRANSPORT:{{ connection.transport }} nxos_vtp_version sanity test"
|
|
|
|
- block:
|
|
- name: enable feature vtp
|
|
nxos_feature:
|
|
feature: vtp
|
|
state: enabled
|
|
provider: "{{ connection }}"
|
|
|
|
- name: configure vtp version
|
|
nxos_vtp_version:
|
|
version: 2
|
|
provider: "{{ connection }}"
|
|
|
|
always:
|
|
- name: disable feature vtp
|
|
nxos_feature:
|
|
feature: vtp
|
|
state: disabled
|
|
provider: "{{ connection }}"
|
|
|
|
- debug: msg="END TRANSPORT:{{ connection.transport }} nxos_vtp_version sanity test"
|