Allows toggling sudo: with password and group sudo, passwordless with group wheel

The default behaviour is to activate both password-based sudo through the group sudo and
passwordless sudo through group wheel (to not break compatibility with previous behaviour).
This commit is contained in:
Jan Beilicke 2021-03-27 13:53:24 +01:00
parent fa1f9e2bf5
commit ffa58f35e3
2 changed files with 57 additions and 30 deletions

View file

@ -11,4 +11,6 @@ users:
- vagrant
sudoers:
- vagrant
ensure_ansible_version: 2.10.3
ensure_ansible_version: 2.10.3
enable_sudo: yes
enable_passwordless_sudo: yes