From fa65b9d1f09d39732e53700e0e7929091b5241a3 Mon Sep 17 00:00:00 2001 From: Ulf Tigerstedt Date: Sun, 10 Apr 2022 06:39:09 +0300 Subject: [PATCH] Fix documentation for sudoers module (#4469) * Fix documentation for sudoers module * Update plugins/modules/system/sudoers.py Co-authored-by: Felix Fontein Co-authored-by: Felix Fontein --- plugins/modules/system/sudoers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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