Skip to content

Commit 26e8b21

Browse files
authored
Merge pull request #29 from zeridon/fix-key_path-expansion-2
unquote ssh_keys_sshdir in authorized-keys.yml for propper expansion
2 parents 6ba77cb + fe6f75b commit 26e8b21

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)