blob: 45ba54f1ef3efac89c53a873a4b4cbdfad01cf14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
---
- 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
register: result
- assert:
that:
- "result.changed == true"
- name: teardown
cli_config:
config: no ip access-list extended test
diff_match: none
- debug: msg="END cli_config/cli_strict_match.yaml on connection={{ ansible_connection }}"
|