|
|
@@ -55,8 +55,8 @@ |
|
|
|
with_items: "{{ users.keys() }}" |
|
|
|
|
|
|
|
- name: ssh authorized keys |
|
|
|
copy: |
|
|
|
content: "{{ users[item].authorized_keys }}" |
|
|
|
template: |
|
|
|
src: ssh_authorized_keys.j2 |
|
|
|
dest: "{{ users[item].home | default('/home/'+item) }}/.ssh/authorized_keys" |
|
|
|
owner: "{{ item }}" |
|
|
|
group: "{{ item }}" |
|
|
|