09f4b9fe4c4b40178f771fa03e84bc21d93042bc
The conditions relied on 'is defined' and 'is not defined'. An entry which declares the unused key with an empty string - as documented in defaults/main.yaml - matched none of the four tasks, so the sudoers drop-in file was silently not created. Comparing the length of the defaulted values instead makes exactly one task apply to every entry accepted by the validation. 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.