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

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

- name: Assert that config was correctly parsed
  assert:
    that:
      - result.changed == false
      - result.parsed == parsed.after