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
548 B
YAML
23 lines
548 B
YAML
---
|
|
- debug: msg="START TRANSPORT:{{ connection.transport }} nxos_vtp_domain sanity test"
|
|
|
|
- block:
|
|
- name: enable feature vtp
|
|
nxos_feature:
|
|
feature: vtp
|
|
state: enabled
|
|
provider: "{{ connection }}"
|
|
|
|
- name: configure vtp domain
|
|
nxos_vtp_domain:
|
|
domain: ntc
|
|
provider: "{{ connection }}"
|
|
|
|
always:
|
|
- name: disable feature vtp
|
|
nxos_feature:
|
|
feature: vtp
|
|
state: disabled
|
|
provider: "{{ connection }}"
|
|
|
|
- debug: msg="END TRANSPORT:{{ connection.transport }} nxos_vtp_domain sanity test"
|