diff options
author | GomathiselviS <gomathiselvi@gmail.com> | 2020-07-24 16:16:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 20:16:03 +0000 |
commit | fbb82a0875dacc8200d3f663c3286104d0a1afbf (patch) | |
tree | ae507874333cff6aea4e71e4032959e1168eb036 /plugins/modules/vyos_logging.py | |
parent | a387c0878535f6af1d19800ff5bb2d60fa2f4e8a (diff) | |
download | vyos.vyos-fbb82a0875dacc8200d3f663c3286104d0a1afbf.tar.gz vyos.vyos-fbb82a0875dacc8200d3f663c3286104d0a1afbf.zip |
[vyos] Fix sanity issues (#58)
[vyos] Fix sanity issues
Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'plugins/modules/vyos_logging.py')
-rw-r--r-- | plugins/modules/vyos_logging.py | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/modules/vyos_logging.py b/plugins/modules/vyos_logging.py index 7b5d2144..fa2f4c15 100644 --- a/plugins/modules/vyos_logging.py +++ b/plugins/modules/vyos_logging.py @@ -37,6 +37,7 @@ options: dest: description: - Destination of the logs. + type: str choices: - console - file @@ -47,17 +48,54 @@ options: 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. + type: str facility: description: - Set logging facility. + type: str level: description: - Set logging severity levels. + type: str aggregate: description: List of logging definitions. + type: list + elements: dict + suboptions: + dest: + description: + - Destination of the logs. + type: str + choices: + - console + - file + - global + - host + - user + 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. + type: str + facility: + description: + - Set logging facility. + type: str + level: + description: + - Set logging severity levels. + type: str + state: + description: + - State of the logging configuration. + type: str + choices: + - present + - absent state: description: - State of the logging configuration. + type: str default: present choices: - present |