summaryrefslogtreecommitdiff
path: root/roles/unix_users/subplot.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-10-10 10:25:57 +0300
committerLars Wirzenius <liw@liw.fi>2020-10-10 10:25:57 +0300
commitd22b710477a78f40a7d61a91a8a802e704d24a07 (patch)
treeb2e330f1164210d8a97bea189d72a6f64c51a054 /roles/unix_users/subplot.md
parent8be4a57cdb3851f127f1d91c56921d7ad58f36d6 (diff)
downloaddebian-ansible-d22b710477a78f40a7d61a91a8a802e704d24a07.tar.gz
feat: verify unix_users can set shell
Diffstat (limited to 'roles/unix_users/subplot.md')
-rw-r--r--roles/unix_users/subplot.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/unix_users/subplot.md b/roles/unix_users/subplot.md
index 9a0356a..c098638 100644
--- a/roles/unix_users/subplot.md
+++ b/roles/unix_users/subplot.md
@@ -2,7 +2,7 @@
This role creates or updates Unix users.
-## Create user with unix_users
+## Create normal user with unix_users
~~~scenario
given a host running Debian
@@ -11,10 +11,12 @@ 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
~~~