diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-12-06 13:29:50 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-12-06 14:41:23 +0200 |
commit | 49a50cd0069b59a466bf03e802caa21067e88a59 (patch) | |
tree | 6fe7eda13852ef0b7f4fcc2813c473fc2cd3f017 /roles | |
parent | 5ace3b2ef61776fee6e9a72ac5af478afa746432 (diff) | |
download | debian-ansible-49a50cd0069b59a466bf03e802caa21067e88a59.tar.gz |
Add: new fields for unix_users list items
Diffstat (limited to 'roles')
-rw-r--r-- | roles/unix_users/defaults/main.yml | 11 |
1 files changed, 10 insertions, 1 deletions
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: |