diff options
Diffstat (limited to 'roles/unix_users/defaults/main.yml')
-rw-r--r-- | roles/unix_users/defaults/main.yml | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/roles/unix_users/defaults/main.yml b/roles/unix_users/defaults/main.yml index ea33fc9..cfcf754 100644 --- a/roles/unix_users/defaults/main.yml +++ b/roles/unix_users/defaults/main.yml @@ -1,3 +1,9 @@ +# 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 @@ -7,7 +13,6 @@ # 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 -# ssh_key_pub -- install this as ~/.ssh/id_rsa.pub # authorized_keys -- install this as ~/.ssh/authorized_keys # password -- encrypted password # @@ -16,19 +21,3 @@ # unix_users: [] - - -# Specify directory where per-user authorized_keys files are stored. -# Each user has their own file in the directory, named after their -# username. You MUST specify this variable. You may put more than one -# key in each user's file. -# -# You MUST create a file for each user in unix_users. An empty file -# will do. -# -# THIS IS NOW DEPRECATED. DO NOT USE. If you leave this empty, the old, -# deprecated way of installing authorized_keys files is skipped. If you -# still use that, then set it in your own vars. But switch to the new -# way asap: set authorized_keys field for the user, see above. - -authkeys_dir: |