1
0
Fork 0
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:
Ganesh Nalawade 2017-08-24 21:03:04 -04:00 committed by GitHub
parent 061fe51e9a
commit 7d8a4b13a5

View file

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