Skip to content

Commit

Permalink
Fixes uploading scripts when openvpn_scripts_dir has no trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
nkakouros committed May 1, 2020
1 parent 4998492 commit e78ebca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- name: Upload script files
template:
src: "{{ item }}"
dest: "{{ openvpn_scripts_dir }}{{ item | basename | replace('.j2', '') }}"
dest: "{{ openvpn_scripts_dir }}/{{ item | basename | replace('.j2', '') }}"
owner: "{{ openvpn_user }}"
group: "{{ openvpn_group }}"
mode: 0o744
Expand Down

0 comments on commit e78ebca

Please sign in to comment.