blob: c098638a347ec5830e25cbe09e188efcebb4013d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# 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 shell /bin/true
~~~
~~~{#foo.yml .file .yaml}
unix_users:
- username: foo
comment: Foo Bar
shell: /bin/true
~~~
|