From 7e9a6573acc6d53a96d43c365e4d30f90b02eee5 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Mon, 21 Feb 2022 11:44:13 +1100 Subject: [PATCH] run-production-playbook: default false when encrypting logs This fails if the variable isn't defined; because we limited I9bd4ed0880596968000b1f153c31df849cd7fa8d to just one job to start, the others fail with a missing definition. Change-Id: I74b31f51494e7264e2a68f333943b143842f9a99 --- playbooks/zuul/run-production-playbook.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/zuul/run-production-playbook.yaml b/playbooks/zuul/run-production-playbook.yaml index 472e07f1e2..800a5145fe 100644 --- a/playbooks/zuul/run-production-playbook.yaml +++ b/playbooks/zuul/run-production-playbook.yaml @@ -27,7 +27,7 @@ always: - name: Encrypt log - when: infra_prod_playbook_encrypt_log + when: infra_prod_playbook_encrypt_log|default(False) block: - name: Create temp dir for download script