fix: jinja2 syntax

This commit is contained in:
eneller
2025-09-06 15:27:58 +02:00
parent 7a87b6eb6b
commit 26b9453a8b
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
user: "{{ ansible_user_id }}"
exclusive: false
state: present
key: "{{ lookup('file', '{{ ssh_key_path }}') }}"
key: "{{ lookup('file', ssh_key_path) }}"
comment: "{{ (ssh_key_comment | length > 0) | ternary(ssh_key_comment, omit) }}"
- name: Update sshd config