blob: cfcf75450115e8100f9711532e5262546545b8a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# The user of the role MUST define the version they want to use. If
# it's not what the version of unix_users being used actually
# provides, the role will fail.
unix_users_version: null
# List of system users to create. Value a list of dicts with keys:
#
# username -- the username of the new user
# comment -- the GECOS/realname of the new user
# shell -- the shell to use (defaults to /bin/bash)
# system -- yes/no, is user a system user (default no)
# sudo -- yes/no, should user have sudo access? (without password)
# ssh_key -- install this as ~/.ssh/id_rsa
# ssh_key_pub -- install this as ~/.ssh/id_rsa.pub
# authorized_keys -- install this as ~/.ssh/authorized_keys
# password -- encrypted password
#
# Create the encrypted password with something like:
# password: "{{ lookup('pipe', 'pass show foo | mkpasswd --method=sha-512 --stdin') }}"
#
unix_users: []
|