blob: 35d53c4512bbd54721fd6686d8b5c66f65f86059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# unix_users – manage Unix users
This role creates or updates Unix users.
## Create normal user with unix_users
~~~scenario
given a host running Debian
then the host has no user foo
when I use role unix_users
and I use variables from foo.yml
and I run the playbook
then the host has user foo
and the user foo on host has encrypted password foopass
and the user foo on host has shell /bin/true
~~~
~~~{#foo.yml .file .yaml}
unix_users:
- username: foo
comment: Foo Bar
shell: /bin/true
password: foopass
~~~
|