mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
[PR #10512/3bb7a77b backport][stable-11] arg_spec adjustments: modules [o-s]* (#10530)
arg_spec adjustments: modules [o-s]* (#10512)
* arg_spec adjustments: modules [o-s]*
* add changelog frag
(cherry picked from commit 3bb7a77b14
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
5c5774b7b5
commit
2dbcfaa650
42 changed files with 210 additions and 205 deletions
|
@ -167,17 +167,17 @@ def main():
|
|||
module_args = dict(
|
||||
ident=dict(type='str', default='ansible_syslogger'),
|
||||
msg=dict(type='str', required=True),
|
||||
priority=dict(type='str', required=False,
|
||||
priority=dict(type='str',
|
||||
choices=["emerg", "alert", "crit", "err", "warning",
|
||||
"notice", "info", "debug"],
|
||||
default='info'),
|
||||
facility=dict(type='str', required=False,
|
||||
facility=dict(type='str',
|
||||
choices=["kern", "user", "mail", "daemon", "auth",
|
||||
"lpr", "news", "uucp", "cron", "syslog",
|
||||
"local0", "local1", "local2", "local3",
|
||||
"local4", "local5", "local6", "local7"],
|
||||
default='daemon'),
|
||||
log_pid=dict(type='bool', required=False, default=False)
|
||||
log_pid=dict(type='bool', default=False)
|
||||
)
|
||||
|
||||
module = AnsibleModule(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue