From 1075767b180e15128f1bfdf0335ae2e10cc14f1c Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 1 May 2020 12:08:49 -0700 Subject: [PATCH] Fix some item usage where var is zj_* now In the fetch-sphinx-tarball role our handling of pdfs didn't fully migrate the loop control var 'item' renaming. Update to replace now incorrect 'item' with correct 'zj_' prefixed var names. Change-Id: Ia5cb68ccbc410d88349e9dd6e3fc2551d5eff5e2 --- roles/fetch-sphinx-tarball/tasks/pdf.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/fetch-sphinx-tarball/tasks/pdf.yaml b/roles/fetch-sphinx-tarball/tasks/pdf.yaml index c054b77d4..02e975628 100644 --- a/roles/fetch-sphinx-tarball/tasks/pdf.yaml +++ b/roles/fetch-sphinx-tarball/tasks/pdf.yaml @@ -39,14 +39,14 @@ - name: Fetch PDF files synchronize: - dest: "{{ zuul.executor.log_root }}/pdf/{{ item.item }}" + dest: "{{ zuul.executor.log_root }}/pdf/{{ zj_pdf.item }}" mode: pull - src: "{{ item.stat.path }}" + src: "{{ zj_pdf.stat.path }}" verify_host: true with_items: "{{ pdf_file_stat.results }}" loop_control: loop_var: zj_pdf - when: item.stat.exists + when: zj_pdf.stat.exists - name: Return PDF artifact to Zuul @@ -61,4 +61,4 @@ with_items: "{{ pdf_file_stat.results }}" loop_control: loop_var: zj_pdf - when: item.stat.exists + when: zj_pdf.stat.exists