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/iosxr_static_routes/tests/cli/gathered.yaml

21 lines
537 B
YAML

---
- debug:
msg: "START iosxr_static_routes gathered integration tests on connection={{ ansible_connection }}"
- include_tasks: _remove_config.yaml
- include_tasks: _populate_config.yaml
- block:
- name: Gather static routes facts from the device using iosxr_static_routes module
iosxr_static_routes:
state: gathered
register: result
- assert:
that: "{{ replaced['before'] | symmetric_difference(result['gathered']) |length == 0 }}"
always:
- include_tasks: _remove_config.yaml