We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71095a2 + f32af45 commit 3d08e54Copy full SHA for 3d08e54
roles/ssh_keys/tasks/main.yml
@@ -9,8 +9,7 @@
9
name: "{{ ssh_user.name }}"
10
state: "present"
11
when:
12
- - "ssh_user.name | default('')"
13
- - "ssh_user.name | length > 0"
+ - "ssh_user.name | default('') | length > 0"
14
- "ssh_user.create_user_account | default(false) | bool"
15
loop: "{{ ssh_user_list }}"
16
loop_control:
@@ -22,8 +21,7 @@
22
21
key: "{{ ssh_user.authorized_keys | default([]) | join('\n') }}"
23
exclusive: "{{ ssh_authorized_keys_exclusive }}"
24
25
26
27
28
29
loop_var: "ssh_user"
0 commit comments