nxos_logging: add example using aggregate (#41052)
* add example using aggregate +label: docsite_pr +label: issue ansible/community#311 * Update nxos_logging.py
This commit is contained in:
parent
b1c60eaa83
commit
bb35973e37
1 changed files with 8 additions and 0 deletions
|
@ -91,6 +91,14 @@ EXAMPLES = """
|
||||||
facility: daemon
|
facility: daemon
|
||||||
facility_level: 0
|
facility_level: 0
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
|
- name: Configure logging using aggregate
|
||||||
|
nxos_logging:
|
||||||
|
aggregate:
|
||||||
|
- { dest: console, dest_level: 2 }
|
||||||
|
- { dest: logfile, dest_level: 2, name: testfile }
|
||||||
|
- { facility: daemon, facility_level: 0 }
|
||||||
|
state: present
|
||||||
"""
|
"""
|
||||||
|
|
||||||
RETURN = """
|
RETURN = """
|
||||||
|
|
Loading…
Reference in a new issue