From 5824d2f849f243a85bc1a2858abc95e9a456f038 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Wed, 28 Mar 2018 13:40:24 +0100 Subject: [PATCH] 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 --- tasks/python_venv_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/python_venv_install.yml b/tasks/python_venv_install.yml index cb8f99b..96cc821 100644 --- a/tasks/python_venv_install.yml +++ b/tasks/python_venv_install.yml @@ -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