mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-25 16:06:43 +00:00
fix nxos_l2_interface tests for fretta (#37086)
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
state: absent
|
||||
provider: "{{ connection }}"
|
||||
|
||||
- name: Sleep for 2 seconds on Fretta Platform
|
||||
wait_for: timeout=2
|
||||
when: platform is match("N9K-F")
|
||||
|
||||
- block:
|
||||
- name: Configure interface for access_vlan aggregate
|
||||
nxos_l2_interface: &conf_agg
|
||||
@@ -40,6 +44,10 @@
|
||||
that:
|
||||
- "result.changed == true"
|
||||
|
||||
- name: Sleep for 2 seconds on Fretta Platform
|
||||
wait_for: timeout=2
|
||||
when: platform is match("N9K-F")
|
||||
|
||||
- name: Configure interface for access_vlan aggregate(Idempotence)
|
||||
nxos_l2_interface: *conf_agg
|
||||
register: result
|
||||
@@ -61,6 +69,10 @@
|
||||
that:
|
||||
- "result.changed == true"
|
||||
|
||||
- name: Sleep for 2 seconds on Fretta Platform
|
||||
wait_for: timeout=2
|
||||
when: platform is match("N9K-F")
|
||||
|
||||
- name: Remove interface aggregate(Idempotence)
|
||||
nxos_l2_interface: *rm_agg
|
||||
register: result
|
||||
|
||||
@@ -45,6 +45,10 @@
|
||||
that:
|
||||
- "result.changed == true"
|
||||
|
||||
- name: Sleep for 2 seconds on Fretta Platform
|
||||
wait_for: timeout=2
|
||||
when: platform is match("N9K-F")
|
||||
|
||||
- name: "access vlan Idempotence"
|
||||
nxos_l2_interface: *acc_vl
|
||||
register: result
|
||||
|
||||
Reference in New Issue
Block a user