mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix nxos_vtp_version test (#57358)
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
provider: "{{ connection }}"
|
||||
state: enabled
|
||||
|
||||
- name: configure supporting vtp domain
|
||||
nxos_vtp_domain:
|
||||
domain: foo
|
||||
provider: "{{ connection }}"
|
||||
|
||||
- name: configure vtp version
|
||||
nxos_vtp_version: &configure
|
||||
version: 2
|
||||
@@ -30,7 +35,7 @@
|
||||
- assert: &true
|
||||
that:
|
||||
- "result.changed == true"
|
||||
|
||||
|
||||
- name: "Conf Idempotence"
|
||||
nxos_vtp_version: *configure
|
||||
register: result
|
||||
@@ -39,7 +44,7 @@
|
||||
that:
|
||||
- "result.changed == false"
|
||||
|
||||
when: vtp_run
|
||||
when: vtp_run | bool
|
||||
|
||||
always:
|
||||
- name: disable feature vtp
|
||||
|
||||
Reference in New Issue
Block a user