ansible/test/integration/targets/ios_static_routes/tests/cli/gathered.yaml
Sumit Jaiswal 4c0eb4396b
Resource module for IOS static routes (#64632)
* ios_static_routes
2020-02-28 18:29:17 +05:30

22 lines
No EOL
557 B
YAML

---
- debug:
msg: "START ios_static_routes gathered integration tests on connection={{ ansible_connection }}"
- include_tasks: _remove_config.yaml
- include_tasks: _intial_setup_config.yaml
- block:
- name: Gather the provided configuration with the exisiting running configuration
ios_static_routes: &gathered
config:
state: gathered
register: result
- name: Assert that gathered dicts was correctly generated
assert:
that:
- "result['changed'] == false"
always:
- include_tasks: _remove_config.yaml