From 28f007d36029a6d3a102fdabe7d1ec23e298ce90 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Tue, 9 Oct 2018 00:22:32 +0000 Subject: [PATCH] fetch-javascript-content-tarball: fix tarball relative path This change fixes the tarball relative path to be absolute. Change-Id: Ife78f91bca9fe1f010db2e0fbfd23b35ad306b1f --- roles/fetch-javascript-content-tarball/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/fetch-javascript-content-tarball/tasks/main.yaml b/roles/fetch-javascript-content-tarball/tasks/main.yaml index cc2e69aae..8a9152f52 100644 --- a/roles/fetch-javascript-content-tarball/tasks/main.yaml +++ b/roles/fetch-javascript-content-tarball/tasks/main.yaml @@ -1,5 +1,5 @@ - name: Create tarball - shell: "tar czf {{ zuul_work_dir }}/build.tgz *" + shell: "tar czf {{ ansible_user_dir }}/{{ zuul_work_dir }}/build.tgz *" args: chdir: "{{ zuul_work_dir }}/{{ create_tarball_directory }}" when: create_tarball_directory is defined