summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_ospf_interfaces/tests/cli/parsed.yaml
blob: c260ec4a5b5d9e8fc9deb5a113979988755f3b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- debug:
    msg:
      START vyos_ospfv3_interfaces parsed integration tests on connection={{ ansible_connection
      }}

- name: Provide the running configuration for parsing (config to be parsed)
  register: result
  vyos.vyos.vyos_ospf_interfaces:
    running_config: "{{ lookup('file', '_parsed.cfg') }}"
    state: parsed

- assert:
    that:
      - result.changed == false
      - result.parsed|symmetric_difference(merged.after) == []