summaryrefslogtreecommitdiff
path: root/roles/unix_users/subplot.yaml
blob: e495602de8a4deaa67771cc1d306076ca1df27e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
- then: the host has no user {username}
  impl:
    python:
      function: host_does_not_have_user

- then: the host has user {username}
  impl:
    python:
      function: host_has_user

- then: the user {username} on host has encrypted password {password}
  impl:
    python:
      function: host_user_has_password

- then: the user {username} on host has shell {shell}
  impl:
    python:
      function: host_user_has_shell

- then: the user {username} on host has authorized_keys containing "{substring}"
  impl:
    python:
      function: host_user_has_authorized_keys_containing

- then: the user {username} on host is in group {group}
  impl:
    python:
      function: host_user_is_in_group