summaryrefslogtreecommitdiff
path: root/roles/unix_users/subplot.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-10-10 11:46:06 +0300
committerLars Wirzenius <liw@liw.fi>2020-10-10 11:46:06 +0300
commit2c23d4fbbbaece4c162c95efdf1baf088b58f9c0 (patch)
tree939d3a54cb8232d781470fb6ad31bf0493a21590 /roles/unix_users/subplot.yaml
parent144d8b800569264dc0932de11701f3080164f426 (diff)
downloaddebian-ansible-2c23d4fbbbaece4c162c95efdf1baf088b58f9c0.tar.gz
test(unix_users): verify setting authorized_keys
Diffstat (limited to 'roles/unix_users/subplot.yaml')
-rw-r--r--roles/unix_users/subplot.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/unix_users/subplot.yaml b/roles/unix_users/subplot.yaml
index c0665aa..10ac86c 100644
--- a/roles/unix_users/subplot.yaml
+++ b/roles/unix_users/subplot.yaml
@@ -9,3 +9,6 @@
- then: the user {username} on host has shell {shell}
function: host_user_has_shell
+
+- then: the user {username} on host has authorized_keys containing "{substring}"
+ function: host_user_has_authorized_keys_containing