From 49a50cd0069b59a466bf03e802caa21067e88a59 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 6 Dec 2017 13:29:50 +0200 Subject: Add: new fields for unix_users list items --- roles/unix_users/defaults/main.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'roles') diff --git a/roles/unix_users/defaults/main.yml b/roles/unix_users/defaults/main.yml index d79958e..5914b08 100644 --- a/roles/unix_users/defaults/main.yml +++ b/roles/unix_users/defaults/main.yml @@ -5,6 +5,10 @@ # 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 +# ssh_key_pub -- install this as ~/.ssh/id_rsa.pub +# authorized_keys -- install this as ~/.ssh/authorized_keys # unix_users: [] @@ -17,5 +21,10 @@ unix_users: [] # # 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: / +authkeys_dir: -- cgit v1.2.1