mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix junos_vlan integration test failure (#28613)
This commit is contained in:
parent
061fe51e9a
commit
7d8a4b13a5
1 changed files with 5 additions and 3 deletions
|
@ -115,8 +115,9 @@
|
|||
- name: Create vlan configuration using aggregate
|
||||
junos_vlan:
|
||||
aggregate:
|
||||
- { vlan_id: 159, name: test_vlan_1, description: test vlan-1 }
|
||||
- name: test_vlan_2
|
||||
- { vlan_id: 159, name: test_vlan_1 }
|
||||
- { vlan_id: 161, name: test_vlan_2 }
|
||||
description: test vlan
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
||||
|
@ -125,7 +126,8 @@
|
|||
- 'result.changed == true'
|
||||
- result.diff.prepared | search("\+ *test_vlan_1")
|
||||
- result.diff.prepared | search("\+ *vlan-id 159")
|
||||
- result.diff.prepared | search("\+ *test_vlan_2")
|
||||
- result.diff.prepared | search("\+ *vlan-id 161")
|
||||
- result.diff.prepared | search("\+ *description \"test vlan\"")
|
||||
|
||||
- name: Deactivate vlan configuration using aggregate
|
||||
junos_vlan:
|
||||
|
|
Loading…
Reference in a new issue