diff --git a/plugins/modules/system/sudoers.py b/plugins/modules/system/sudoers.py index 52b87c7524..86d8306c26 100644 --- a/plugins/modules/system/sudoers.py +++ b/plugins/modules/system/sudoers.py @@ -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