50ab1261309b4a074749f080224dab85e14fdbec
The default filter only replaces undefined values unless its boolean flag is enabled. An entry with 'filename: ""' - as documented in defaults/main.yaml - therefore produced a sudoers drop-in file without a name. Enabling the flag makes the role fall back to the user or group name for empty filenames as well. 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.