1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/iosxr_config/tests/cli/misplaced_sublevel.yaml
Deepak Agrawal ef577b71cc
Handling of configurations blocks with end-* at the end of the block (#39673)
* handle end-policy issue

* revert changes in iosxr cliconf

* fix trailing parents not included in difference

* Moving fix to platform specific fix

* pep 8 issues
2018-05-08 10:02:50 +05:30

27 lines
650 B
YAML

---
- debug: msg="START cli/misplaced_sublevel.yaml on connection={{ ansible_connection }}"
- name: setup
iosxr_config:
src: basic/init_prefix_set.j2
ignore_errors: yes
- name: Change prefix-set and new command after prefix-set
iosxr_config:
src: basic/change_prefix_set.j2
register: result
- assert:
that:
- "result.changed == true"
- name: Play same config again to verify no diff in prefix-set also works
iosxr_config:
src: basic/change_prefix_set.j2
register: result
- assert:
that:
- "result.changed == true"
- debug: msg="END cli/misplaced_sublevel.yaml on connection={{ ansible_connection }}"