Skip to content

Commit

Permalink
Fix double Jinja world expression
Browse files Browse the repository at this point in the history
  • Loading branch information
oxmie committed Mar 7, 2024
1 parent 12a2ddd commit 1ead124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/dropbear_initramfs/tasks/main.yml
Expand Up @@ -53,7 +53,7 @@
user: '{{ item.user | d("root") }}'
path: '{{ "/etc/initramfs-tools/root/.ssh/authorized_keys"
if ("dropbear" in dropbear_initramfs__base_packages)
else "{{ dropbear_initramfs__config_path }}/authorized_keys" }}'
else dropbear_initramfs__config_path + "/authorized_keys" }}'
key_options: '{{ (item.key_options if item.key_options is string else item.key_options | join(","))
if item.key_options is defined
else ((dropbear_initramfs__authorized_keys_key_options
Expand Down

0 comments on commit 1ead124

Please sign in to comment.