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.
1 parent 71095a2 commit 78652f5Copy full SHA for 78652f5
roles/ssh_keys/tasks/main.yml
@@ -9,7 +9,7 @@
9
name: "{{ ssh_user.name }}"
10
state: "present"
11
when:
12
- - "ssh_user.name | default('')"
+ - "ssh_user.name is defined"
13
- "ssh_user.name | length > 0"
14
- "ssh_user.create_user_account | default(false) | bool"
15
loop: "{{ ssh_user_list }}"
@@ -22,7 +22,7 @@
22
key: "{{ ssh_user.authorized_keys | default([]) | join('\n') }}"
23
exclusive: "{{ ssh_authorized_keys_exclusive }}"
24
25
26
27
28
loop_control:
0 commit comments