Fix documentation for sudoers module (#4469)

* 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>
pull/4479/head
Ulf Tigerstedt 2022-04-10 06:39:09 +03:00 committed by GitHub
parent 7cdab682c7
commit fa65b9d1f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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