You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/ios_acl_interfaces/tests/cli/parsed.yaml

17 lines
438 B
YAML

---
- debug:
msg: "START ios_acl_interfaces parsed integration tests on connection={{ ansible_connection }}"
- name: Parse the commands for provided configuration
ios_acl_interfaces: &parsed
running_config:
"{{ lookup('file', '_parsed.cfg') }}"
state: parsed
become: yes
register: result
- assert:
that:
- "result.changed == false"
- "parsed['config']|symmetric_difference(result.parsed) == []"