Skip to content

Commit 4fde62a

Browse files
committed
fix key lookup to just path to key
1 parent 8740e61 commit 4fde62a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

olam/deploy_olam_cluster.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381
dest: /etc/tower/SECRET_KEY
382382
owner: true
383383
group: true
384-
private_key: "{{ lookup('file', lookup('env', 'HOME') + '/.ssh/' + private_key) }}"
384+
private_key: '/home/{{ username }}/.ssh/{{ private_key }}'
385385
delegate_to: "{{ groups['control'][0] }}"
386386

387387
- name: Configure receptor

0 commit comments

Comments
 (0)