Copy the checksum to the folder correctly

Currently the checksum copies to the target as
the name 'venv', rather than as the full checksum
file name. This is due to the target not explicitly
being set as a folder, so ansible thinks it's the
file name.

Change-Id: I99124ac9c602b04db89f875d5c8859faa487cf03
This commit is contained in:
Jesse Pretorius 2018-03-28 13:40:24 +01:00
parent ff597fa367
commit 5824d2f849
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
- name: Copy the venv checksum file to the target host
copy:
src: "{{ venv_reuse_download_path }}/{{ venv_destination_path | basename }}.checksum"
dest: "{{ venv_destination_path | dirname }}"
dest: "{{ venv_destination_path | dirname }}/"
register: _venv_checksum_copy
when:
- _src_venv_present.stat.exists | bool