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

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

- assert:
    that:
      - result.changed == false
      - result.parsed == populate.global