From 27f9df6a8bbf31e82f2fadbe4f5ac0e453daa571 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Fri, 1 May 2020 16:13:00 +0100 Subject: [PATCH] fetch-sphinx-tarbal: allow to follow symlinks Fix bug which prevented find from finding builds when the folder was a symlink. This can happen if a project using a different build layout tries to expose the docs at the expected location. Change-Id: Ib7782b60cef42d2e9fd3077791f06b0f918d7c45 --- roles/fetch-sphinx-tarball/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/fetch-sphinx-tarball/tasks/main.yaml b/roles/fetch-sphinx-tarball/tasks/main.yaml index cae46ce51..87563ca41 100644 --- a/roles/fetch-sphinx-tarball/tasks/main.yaml +++ b/roles/fetch-sphinx-tarball/tasks/main.yaml @@ -1,6 +1,7 @@ - name: Inspect sphinx build directory find: file_type: any + follow: true paths: "{{ zuul_work_dir }}/{{ sphinx_build_dir }}" register: sphinx_dir