From bb35973e37f4bd2b9f1e92e212af584326304f9a Mon Sep 17 00:00:00 2001 From: Chris Smolen Date: Fri, 20 Jul 2018 13:51:13 -0700 Subject: [PATCH] nxos_logging: add example using aggregate (#41052) * add example using aggregate +label: docsite_pr +label: issue ansible/community#311 * Update nxos_logging.py --- lib/ansible/modules/network/nxos/nxos_logging.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/ansible/modules/network/nxos/nxos_logging.py b/lib/ansible/modules/network/nxos/nxos_logging.py index b56c4e2e9b1..1c805c45fd7 100644 --- a/lib/ansible/modules/network/nxos/nxos_logging.py +++ b/lib/ansible/modules/network/nxos/nxos_logging.py @@ -91,6 +91,14 @@ EXAMPLES = """ facility: daemon facility_level: 0 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 = """