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 24b08e1 commit 9afe057Copy full SHA for 9afe057
tasks/authorized_keys.yaml
@@ -5,7 +5,7 @@
5
{%- set user_authorized_key_pairs = [] -%}
6
{%- for user, user_info in system.users.items() -%}
7
{%- set user_authorized_key_list = [] -%}
8
- {%- for authorized_key_list in (user_info.authorized_keys|default([], true)).values() -%}
+ {%- for authorized_key_list in (user_info.authorized_keys|default({}, true)).values() -%}
9
{%- if authorized_key_list is string -%}
10
{%- set _ = user_authorized_key_list.append(authorized_key_list) -%}
11
{%- else -%}
0 commit comments