From cc9adf7f1ae819db13c77ee99da824be8b762ec5 Mon Sep 17 00:00:00 2001 From: Nathaniel Case Date: Thu, 5 Sep 2019 08:58:57 -0400 Subject: [PATCH] Unify ios_logging documentation with accepted options (#61777) * Unify ios_logging documentation with accepted options * Apply suggestions from code review Co-Authored-By: Alicia Cozine <879121+acozine@users.noreply.github.com> * Copy suggestion over to eos_logging --- lib/ansible/modules/network/eos/eos_logging.py | 6 +++--- lib/ansible/modules/network/ios/ios_logging.py | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/ansible/modules/network/eos/eos_logging.py b/lib/ansible/modules/network/eos/eos_logging.py index 39e45b4e884..8fc7289f904 100644 --- a/lib/ansible/modules/network/eos/eos_logging.py +++ b/lib/ansible/modules/network/eos/eos_logging.py @@ -24,11 +24,11 @@ options: dest: description: - Destination of the logs. - choices: ['on', 'host', console', 'monitor', 'buffered'] + choices: ['on', 'host', 'console', 'monitor', 'buffered'] name: description: - - If value of C(dest) is I(host) C(name) should be specified, - which indicates hostname or IP address. + - The hostname or IP address of the destination. + - Required when I(dest=host). size: description: - Size of buffer. The acceptable value is in range from 10 to diff --git a/lib/ansible/modules/network/ios/ios_logging.py b/lib/ansible/modules/network/ios/ios_logging.py index 902c7bf2bdd..557ca9fb280 100644 --- a/lib/ansible/modules/network/ios/ios_logging.py +++ b/lib/ansible/modules/network/ios/ios_logging.py @@ -41,9 +41,8 @@ options: choices: ['on', 'host', 'console', 'monitor', 'buffered', 'trap'] name: description: - - If value of C(dest) is I(file) it indicates file-name, - for I(user) it indicates username and for I(host) indicates - the host name to be notified. + - The hostname or IP address of the destination. + - Required when I(dest=host). size: description: - Size of buffer. The acceptable value is in range from 4096 to