Jérémy Lecour
7b88393ccf
* rename admin-users to evolinux-users * splitting the "sudo" part for users between jessie and stretch * with stretch, the sudo group is customizable and properly configured * import evolinux-users role from evolinux-base at proper time to ensure ssh connections are possible for other users before cutting root's access * evomaintenance is also included in evolinux-base to have it available when users are created
28 lines
526 B
Markdown
28 lines
526 B
Markdown
# evolinux-users
|
|
|
|
Creates evolinux users accounts, based on a configuration data structure.
|
|
|
|
## Tasks
|
|
|
|
Everything is in the `tasks/main.yml` file.
|
|
|
|
## Available variables
|
|
|
|
The variable `evolinux_users` must be a "dict" of one or more users :
|
|
|
|
```
|
|
evolinux_users:
|
|
foo:
|
|
name: foo
|
|
uid: 1001
|
|
fullname: 'Mr Foo'
|
|
password_hash: 'sdfgsdfgsdfgsdfg'
|
|
ssh_key: 'ssh-rsa AZERTYXYZ'
|
|
bar:
|
|
name: bar
|
|
uid: 1002
|
|
fullname: 'Mr Bar'
|
|
password_hash: 'gsdfgsdfgsdfgsdf'
|
|
ssh_key: 'ssh-rsa QWERTYUIOP'
|
|
```
|