7c76a5cc869d08ffabf99d78e30e485d7fb751d9
The variable verification was included via include_vars, which is meant for variable files only. Additionally the first_found lookup had no paths defined, so it searched the files/ subdirectory and the role root instead of tasks/ and failed with "No file was found". Switching to include_tasks and adding the tasks path makes the verification run at all. The assertion itself was fully commented out and is now active, so a misconfigured entry fails early instead of being silently skipped by all four sudoers tasks. Co-authored-by: Copilot <copilot@github.com>
sudo_users
With following role can be created sudoers files in /etc/sudoers.d. For
example to grant a user special perimssions to execute a program as root.
Supported distributions
- Arch Linux
- Debian
- Fedora
- RHEL
- Ubuntu 20.04
Features
- Installing sudo
- Configuring drop-on files in
/etc/sudoers.d
Configuring
In the default directory are examples how to configure the network stack. Copy the
defaults into your host_vars or group_vars and adapt the examples.