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/nxos_config/tests/cli_config/cli_strict_match.yaml

26 lines
650 B
YAML

---
- debug: msg="START cli_config/cli_strict_match.yaml on connection={{ ansible_connection }}"
- name: setup - remove configuration
cli_config:
config: "{{ lookup('template', 'basic/setupstrict.j2') }}"
diff_match: none
- name: configure using strict match
cli_config:
config: "{{ lookup('template', 'basic/configstrict1.j2') }}"
diff_match: strict
diff_replace: block
register: result
- assert:
that:
- "result.changed == true"
- name: teardown
cli_config:
config: no ip access-list test
diff_match: none
- debug: msg="END cli_config/cli_strict_match.yaml on connection={{ ansible_connection }}"