From 6ac719ba2f02ff2c8a6910f342d41d2404e18017 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Tue, 12 May 2020 16:54:05 +0000 Subject: [PATCH] fetch-sphinx-tarball: add missing zuul_success default This change prevents an issue in test-jobs where zuul_success is undefined. Change-Id: I408e9f957ff3151d39f7b5b2ea038255570baf4d --- roles/fetch-sphinx-tarball/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/fetch-sphinx-tarball/tasks/main.yaml b/roles/fetch-sphinx-tarball/tasks/main.yaml index 1e89640cc..90239f5f0 100644 --- a/roles/fetch-sphinx-tarball/tasks/main.yaml +++ b/roles/fetch-sphinx-tarball/tasks/main.yaml @@ -25,5 +25,5 @@ fail: msg: 'No html output in "{{ sphinx_build_dir }}".' when: - - zuul_success | bool + - zuul_success | default(true) | bool - "'html' not in sphinx_dir"