blob: b73fe233f111b1fee812a605c10b4809f27c1866 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
---
- debug:
msg: START vyos_route_maps gathered integration tests on connection={{
ansible_connection }}
- include_tasks: _remove_config.yaml
- include_tasks: _populate.yaml
- block:
- name: Gather config from the device in structured format.
register: result
vyos.vyos.vyos_route_maps:
state: gathered
- become: true
vyos.vyos.vyos_facts:
gather_network_resources: route_maps
- assert:
that:
- result.changed == false
- result.gathered|symmetric_difference(ansible_facts['network_resources']['route_maps']) == []
|