summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_ospf_interfaces/tests/cli/parsed.yaml
blob: 0d13f76de16055cf62f6686d271691c44a02d172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- 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) == []