summaryrefslogtreecommitdiff
path: root/roles/unix_users/subplot.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-09-16 08:51:35 +0300
committerLars Wirzenius <liw@liw.fi>2021-09-16 08:51:35 +0300
commit1a8300fd9fbe2e6f0186ddc5f2de0a390735f996 (patch)
tree0782fbfd9c7291bcad237ffd6bb5d9df007cf4fa /roles/unix_users/subplot.yaml
parentb5dbd53f4a1a3c2c15f640e2dfaf624dc3488f8a (diff)
downloaddebian-ansible-1a8300fd9fbe2e6f0186ddc5f2de0a390735f996.tar.gz
fix: add impl to bindings files for new Subplot
Sponsored-by: author
Diffstat (limited to 'roles/unix_users/subplot.yaml')
-rw-r--r--roles/unix_users/subplot.yaml24
1 files changed, 18 insertions, 6 deletions
diff --git a/roles/unix_users/subplot.yaml b/roles/unix_users/subplot.yaml
index bf7c4b9..e495602 100644
--- a/roles/unix_users/subplot.yaml
+++ b/roles/unix_users/subplot.yaml
@@ -1,17 +1,29 @@
- then: the host has no user {username}
- function: host_does_not_have_user
+ impl:
+ python:
+ function: host_does_not_have_user
- then: the host has user {username}
- function: host_has_user
+ impl:
+ python:
+ function: host_has_user
- then: the user {username} on host has encrypted password {password}
- function: host_user_has_password
+ impl:
+ python:
+ function: host_user_has_password
- then: the user {username} on host has shell {shell}
- function: host_user_has_shell
+ impl:
+ python:
+ function: host_user_has_shell
- then: the user {username} on host has authorized_keys containing "{substring}"
- function: host_user_has_authorized_keys_containing
+ impl:
+ python:
+ function: host_user_has_authorized_keys_containing
- then: the user {username} on host is in group {group}
- function: host_user_is_in_group
+ impl:
+ python:
+ function: host_user_is_in_group