fix: jinja2 syntax
This commit is contained in:
1 parent
7a87b6eb6b
commit
26b9453a8b
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -17,5 +17,5 @@
|
|||||||
user: "{{ ansible_user_id }}"
|
user: "{{ ansible_user_id }}"
|
||||||
exclusive: false
|
exclusive: false
|
||||||
state: present
|
state: present
|
||||||
key: "{{ lookup('file', '{{ ssh_key_path }}') }}"
|
key: "{{ lookup('file', ssh_key_path) }}"
|
||||||
|
|
||||||
+1
-1
@@ -20,7 +20,7 @@
|
|||||||
user: "{{ ansible_user_id }}"
|
user: "{{ ansible_user_id }}"
|
||||||
exclusive: false
|
exclusive: false
|
||||||
state: present
|
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) }}"
|
comment: "{{ (ssh_key_comment | length > 0) | ternary(ssh_key_comment, omit) }}"
|
||||||
|
|
||||||
- name: Update sshd config
|
- name: Update sshd config
|
||||||
|
|||||||
Reference in new issue
Block a user