passwordless-sudo-users

Example:

# Enable passwordless sudo for users 'freckles' and 'boingboing'.
- passwordless-sudo-users:
    users:
    - freckles
    - boingboing

Description

Ensure that one or more users can use passwordless sudo.

This also makes sure that the sudo package is installed (if not already available), and creates the user(s) (if not already present).

Resources

Variables

Name Type Default Description

users

list --

n/a Required

Examples

Example 1

Enable passwordless sudo for users 'freckles' and 'boingboing'.

Code
- passwordless-sudo-users:
    users:
    - freckles
    - boingboing

Command-line

frecklecute passwordless-sudo-users --help

Usage: frecklecute passwordless-sudo-users [OPTIONS] USER

  Ensure that one or more users can use passwordless sudo.

  This also makes sure that the sudo package is installed (if not already
  available), and creates the user(s) (if not already present).

Options:
  --help  Show this message and exit.