Ansible role to install and configure sudo.
Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.
- Minimum Ansible version:
2.10
List of environment to keep
sudo_env_keep:
- LANG
- LC_ADDRESS
- LC_CTYPE
- LC_COLLATE
- LC_IDENTIFICATION
- LC_MEASUREMENT
- LC_MESSAGES
- LC_MONETARY
- LC_NAME
- LC_NUMERIC
- LC_PAPER
- LC_TELEPHONE
- LC_TIME
- LC_ALL
- LANGUAGE
- LINGUAS
- XDG_SESSION_COOKIE
List of groups to create and use
sudo_groups:
- admin
- sudo
- wheel
List of additional rules
sudo_rules: []
List of secure executable paths
sudo_secure_path:
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/X11R6/bin
- /snap/bin
sudo
- None
Apache-2.0