Fix nxos_vtp_version test (#57358)
This commit is contained in:
parent
7c73dd3e78
commit
870d8bf10b
1 changed files with 7 additions and 2 deletions
|
@ -21,6 +21,11 @@
|
||||||
provider: "{{ connection }}"
|
provider: "{{ connection }}"
|
||||||
state: enabled
|
state: enabled
|
||||||
|
|
||||||
|
- name: configure supporting vtp domain
|
||||||
|
nxos_vtp_domain:
|
||||||
|
domain: foo
|
||||||
|
provider: "{{ connection }}"
|
||||||
|
|
||||||
- name: configure vtp version
|
- name: configure vtp version
|
||||||
nxos_vtp_version: &configure
|
nxos_vtp_version: &configure
|
||||||
version: 2
|
version: 2
|
||||||
|
@ -30,7 +35,7 @@
|
||||||
- assert: &true
|
- assert: &true
|
||||||
that:
|
that:
|
||||||
- "result.changed == true"
|
- "result.changed == true"
|
||||||
|
|
||||||
- name: "Conf Idempotence"
|
- name: "Conf Idempotence"
|
||||||
nxos_vtp_version: *configure
|
nxos_vtp_version: *configure
|
||||||
register: result
|
register: result
|
||||||
|
@ -39,7 +44,7 @@
|
||||||
that:
|
that:
|
||||||
- "result.changed == false"
|
- "result.changed == false"
|
||||||
|
|
||||||
when: vtp_run
|
when: vtp_run | bool
|
||||||
|
|
||||||
always:
|
always:
|
||||||
- name: disable feature vtp
|
- name: disable feature vtp
|
||||||
|
|
Loading…
Reference in a new issue