summaryrefslogtreecommitdiff
path: root/roles/unix_users/subplot.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-10-10 11:25:50 +0300
committerLars Wirzenius <liw@liw.fi>2020-10-10 11:25:50 +0300
commit144d8b800569264dc0932de11701f3080164f426 (patch)
treecdabe66c5c46dd5c8bdf640d769b24ddaab1c407 /roles/unix_users/subplot.md
parentd22b710477a78f40a7d61a91a8a802e704d24a07 (diff)
downloaddebian-ansible-144d8b800569264dc0932de11701f3080164f426.tar.gz
test(unix_users): set encrypted password for users
Diffstat (limited to 'roles/unix_users/subplot.md')
-rw-r--r--roles/unix_users/subplot.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/unix_users/subplot.md b/roles/unix_users/subplot.md
index c098638..35d53c4 100644
--- a/roles/unix_users/subplot.md
+++ b/roles/unix_users/subplot.md
@@ -11,6 +11,7 @@ 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
~~~
@@ -19,4 +20,5 @@ unix_users:
- username: foo
comment: Foo Bar
shell: /bin/true
+ password: foopass
~~~