Skip to content

Commit 6ba77cb

Browse files
committed
More DRYY
1 parent 5761570 commit 6ba77cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/authorized-keys.yml

+1-1
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/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)