add support for managing users that can ssh to a node via key

This commit is contained in:
m0duspwnens committed 2021-06-23 12:39:48 -04:00
1 parent 0341eb5d8f
commit 322c2804fc
4 files changed
+158

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
users:
sclapton:
# required fields
status: present
# node_access determines which node types the user can access.
# this can either be by grains.role or by final part of the minion id after the _
node_access:
- standalone
- searchnode
# optional fields
- fullname: Stevie Claptoon
- uid: 1001
- gid: 1001
- homephone: does not have a phone
groups:
- mygroup1
- mygroup2
- wheel # give sudo access