mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 03:53:59 -07:00
Add Idempotent IT cases for vrrp, vrf, vtp (#28895)
This commit is contained in:
parent
50d148a7d6
commit
737c27121b
5 changed files with 121 additions and 96 deletions
|
@ -9,9 +9,22 @@
|
|||
provider: "{{ connection }}"
|
||||
|
||||
- name: configure vtp version
|
||||
nxos_vtp_version:
|
||||
nxos_vtp_version: &configure
|
||||
version: 2
|
||||
provider: "{{ connection }}"
|
||||
register: result
|
||||
|
||||
- assert: &true
|
||||
that:
|
||||
- "result.changed == true"
|
||||
|
||||
- name: "Conf Idempotence"
|
||||
nxos_vtp_version: *configure
|
||||
register: result
|
||||
|
||||
- assert: &false
|
||||
that:
|
||||
- "result.changed == false"
|
||||
|
||||
always:
|
||||
- name: disable feature vtp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue