1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix nxos_l2_interface tests for fretta (#37086)

This commit is contained in:
rahushen 2018-03-06 23:45:56 -05:00 committed by Trishna Guha
parent 3fd5b0740e
commit b7bc61c7df
2 changed files with 16 additions and 0 deletions

View file

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

View file

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