mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* Fix documentation for sudoers module
* Update plugins/modules/system/sudoers.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit fa65b9d1f0
)
Co-authored-by: Ulf Tigerstedt <tigerstedt@iki.fi>
This commit is contained in:
parent
9f8612f34e
commit
41fe6663d9
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ options:
|
|||
description:
|
||||
- The commands allowed by the sudoers rule.
|
||||
- Multiple can be added by passing a list of commands.
|
||||
- Use C(ALL) for all commands.
|
||||
type: list
|
||||
elements: str
|
||||
group:
|
||||
|
@ -80,7 +81,7 @@ EXAMPLES = '''
|
|||
state: present
|
||||
user: bob
|
||||
runas: alice
|
||||
commands: ANY
|
||||
commands: ALL
|
||||
|
||||
- name: >-
|
||||
Allow the monitoring group to run sudo /usr/local/bin/gather-app-metrics
|
||||
|
|
Loading…
Reference in a new issue