Skip to content

Commit fe6f75b

Browse files
committed
unquote ssh_keys_sshdir in authorized-keys.yml for propper expansion
1 parent 6ba77cb commit fe6f75b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/authorized-keys.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
user: "{{ item.owner }}"
66
key: "{{ lookup('file', item.src) }}"
77
state: "{{ item.state | default('present') }}"
8-
path: "{{ item.path | default('~' + item.owner + '/{{ ssh_keys_sshdir }}/authorized_keys') }}"
8+
path: "{{ item.path | default('~' + item.owner + '/' + {{ ssh_keys_sshdir }} + '/authorized_keys') }}"
99
with_items: "{{ ssh_keys_authorized_keys }}"
1010
tags:
1111
ssh-keys-authorized-keys-setup

0 commit comments

Comments
 (0)