|
|
@ -7,11 +7,13 @@
|
|
|
|
- 'no ip access-list extended test'
|
|
|
|
- 'no ip access-list extended test'
|
|
|
|
- 'no ip access-list standard test'
|
|
|
|
- 'no ip access-list standard test'
|
|
|
|
match: none
|
|
|
|
match: none
|
|
|
|
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: configure sub level command
|
|
|
|
- name: configure sub level command
|
|
|
|
ios_config:
|
|
|
|
ios_config:
|
|
|
|
lines: ['permit ip any any log']
|
|
|
|
lines: ['permit ip any any log']
|
|
|
|
parents: ['ip access-list extended test']
|
|
|
|
parents: ['ip access-list extended test']
|
|
|
|
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
|
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
- assert:
|
|
|
@ -24,6 +26,7 @@
|
|
|
|
ios_config:
|
|
|
|
ios_config:
|
|
|
|
lines: ['permit ip any any log']
|
|
|
|
lines: ['permit ip any any log']
|
|
|
|
parents: ['ip access-list extended test']
|
|
|
|
parents: ['ip access-list extended test']
|
|
|
|
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
|
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
- assert:
|
|
|
@ -35,5 +38,6 @@
|
|
|
|
lines:
|
|
|
|
lines:
|
|
|
|
- 'no ip access-list extended test'
|
|
|
|
- 'no ip access-list extended test'
|
|
|
|
match: none
|
|
|
|
match: none
|
|
|
|
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
|
|
|
|
|
|
|
|
- debug: msg="END cli/sublevel.yaml"
|
|
|
|
- debug: msg="END cli/sublevel.yaml"
|
|
|
|