mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
iosxr modules aggregate check and other minor refactor (#28360)
* iosxr aggregate validation * vyos_user, junos_user minor changes * Aggregated documentation
This commit is contained in:
@@ -100,11 +100,26 @@
|
||||
- 'result.changed == true'
|
||||
- '"logging buffered 4800000" in result.commands'
|
||||
|
||||
- name: Change logging parameters using aggregate
|
||||
iosxr_logging:
|
||||
aggregate:
|
||||
- { dest: console, level: notifications }
|
||||
- { dest: buffered, size: 4700000 }
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- 'result.changed == true'
|
||||
- '"logging buffered 4700000" in result.commands'
|
||||
- '"logging console notifications" in result.commands'
|
||||
|
||||
- name: remove logging as collection tearDown
|
||||
iosxr_logging:
|
||||
aggregate:
|
||||
- { dest: console, level: warning, state: absent }
|
||||
- { dest: buffered, size: 4800000, state: absent }
|
||||
- { dest: console, level: notifications }
|
||||
- { dest: buffered, size: 4700000 }
|
||||
state: absent
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user