Skip to content

Commit

Permalink
authorized key upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohan Yadav committed Sep 10, 2019
1 parent f127282 commit 9224c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- name: setup | authorized key upload
authorized_key:
user: "{{ item.username }}"
key: "{{ lookup('file', './../../_ssh/{{ ENV }}/{{ item.username }}.pub') }}"
key: "{{ lookup('file', './../../_ssh/{{ Env }}/{{ item.username }}.pub') }}"
path: '/home/{{ item.username }}/.ssh/authorized_keys'
manage_dir: false
with_items: '{{ users }}'
Expand Down

0 comments on commit 9224c0f

Please sign in to comment.