https://github.com/rolehippie/sudo
Ansible role to install and configure sudo
https://github.com/rolehippie/sudo
ansible ansible-role hacktoberfest role
Last synced: 6 months ago
JSON representation
Ansible role to install and configure sudo
- Host: GitHub
- URL: https://github.com/rolehippie/sudo
- Owner: rolehippie
- License: apache-2.0
- Created: 2018-08-21T10:32:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-12-22T10:02:02.000Z (7 months ago)
- Last Synced: 2025-12-23T21:35:07.370Z (7 months ago)
- Topics: ansible, ansible-role, hacktoberfest, role
- Language: Nix
- Size: 264 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# sudo
[](https://github.com/rolehippie/sudo)
[](https://github.com/rolehippie/sudo/actions/workflows/general.yml)
[](https://github.com/rolehippie/sudo/actions/workflows/docs.yml)
[](https://github.com/rolehippie/sudo/actions/workflows/galaxy.yml)
[](https://github.com/rolehippie/sudo/blob/master/LICENSE)
[](https://galaxy.ansible.com/rolehippie/sudo)
Ansible role to install and configure sudo.
## Sponsor
Building and improving this Ansible role have been sponsored by my current and previous employers like **[Cloudpunks GmbH](https://cloudpunks.de)** and **[Proact Deutschland GmbH](https://www.proact.eu)**.
## Table of contents
- [Requirements](#requirements)
- [Default Variables](#default-variables)
- [sudo_env_keep](#sudo_env_keep)
- [sudo_groups](#sudo_groups)
- [sudo_rules](#sudo_rules)
- [sudo_secure_path](#sudo_secure_path)
- [Discovered Tags](#discovered-tags)
- [Dependencies](#dependencies)
- [License](#license)
- [Author](#author)
---
## Requirements
- Minimum Ansible version: `2.10`
## Default Variables
### sudo_env_keep
List of environment to keep
#### Default value
```YAML
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
```
### sudo_groups
List of groups to create and use
#### Default value
```YAML
sudo_groups:
- admin
- sudo
- wheel
```
### sudo_rules
List of additional rules
#### Default value
```YAML
sudo_rules: []
```
### sudo_secure_path
List of secure executable paths
#### Default value
```YAML
sudo_secure_path:
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/X11R6/bin
- /snap/bin
```
## Discovered Tags
**_sudo_**
## Dependencies
- None
## License
Apache-2.0
## Author
[Thomas Boerger](https://github.com/tboerger)