From bfcb8a9df35a9d3a3931f978ac77e16edbff9e0a Mon Sep 17 00:00:00 2001 From: vass Date: Mon, 20 Apr 2020 12:49:02 +0200 Subject: [PATCH] fetch-sphinx-tarball: use remote_src true Since ansible copies files as a tempfile to the remote host by default setting remote_src: true when the files are on the same host gives better error messages since otherwise the source path is not reflecting the real path. See: http://paste.openstack.org/show/792400/ Where the file in "dest:" field of unarchive is copied to a tempfile instead of just unarchiving the tarball directly. Change-Id: Id7478a5a3171fdd2d3bc7531e66a09414e711d3a --- roles/fetch-sphinx-tarball/tasks/html.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/fetch-sphinx-tarball/tasks/html.yaml b/roles/fetch-sphinx-tarball/tasks/html.yaml index 3ef559328..a39c73d1a 100644 --- a/roles/fetch-sphinx-tarball/tasks/html.yaml +++ b/roles/fetch-sphinx-tarball/tasks/html.yaml @@ -27,6 +27,7 @@ unarchive: src: "{{ zuul.executor.log_root }}/docs-html.tar.bz2" dest: "{{ zuul.executor.log_root }}/docs" + remote_src: true - name: Return artifact to Zuul zuul_return: