ansible/test/integration/targets/ios_acl_interfaces/tests/cli/gathered.yaml

22 lines
551 B
YAML
Raw Normal View History

---
- debug:
msg: "START ios_acl_interfaces gathered integration tests on connection={{ ansible_connection }}"
- include_tasks: _populate_config.yaml
- block:
- name: Gather the provided configuration with the exisiting running configuration
ios_acl_interfaces: &gathered
config:
state: gathered
register: result
- name: Assert
assert:
that:
- "gathered['config'] | symmetric_difference(result.gathered) == []"
- "result['changed'] == false"
always:
- include_tasks: _remove_config.yaml