Add Idempotent IT cases for vrrp, vrf, vtp (#28895)

This commit is contained in:
saichint 2017-09-01 02:59:21 -07:00 committed by Nathaniel Case
commit 737c27121b
5 changed files with 121 additions and 96 deletions

View file

@ -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