You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ansible/roles/basic_users/README.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,15 +21,20 @@ Role Variables
21
21
22
22
-`basic_users_users`: Optional, default empty list. A list of mappings defining information for each user. In general, mapping keys/values are passed through as parameters to [ansible.builtin.user](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/user_module.html) and default values are as given there. However:
23
23
-`create_home` and `generate_ssh_key`: Normally set automatically. Can be
24
-
set `false` if necessary to disable home directory creation or cluster ssh
25
-
key creation, should not be set `true`.
24
+
set `false` if necessary to disable home directory creation/cluster ssh
25
+
key creation. Should not be set `true` to avoid trying to modify home
26
+
directories from multiple nodes simultaneously.
26
27
-`ssh_key_comment`: Default is user name.
27
-
-`home`: Normally set automatically.
28
+
-`home`: Set automatically based on the user name and
29
+
`basic_users_homedir_host_path`. Can be overriden if required for e.g.
30
+
users with non-standard home directory paths.
28
31
-`uid`: Should be set, so that the UID/GID is consistent across the cluster
29
32
(which Slurm requires).
30
-
-`shell`: If *not* set will be `/sbin/nologin` on the `control` node and the
31
-
default shell on other users. Explicitly setting this defines the shell for
32
-
all nodes.
33
+
-`shell`: If *not* set will be `/sbin/nologin` on the `control` node to
34
+
prevent users logging in to this node, and the default shell on other
35
+
nodes. Explicitly setting this defines the shell for all nodes and if the
36
+
shared home directories are mounted on the control node will allow the
37
+
user to log in to the control node.
33
38
- An additional key `public_key` may optionally be specified to define a key to log into the cluster.
34
39
- An additional key `sudo` may optionally be specified giving a string (possibly multiline) defining sudo rules to be templated.
35
40
-`ssh_key_type` defaults to `ed25519` instead of the `ansible.builtin.user` default of `rsa`.
0 commit comments