From 66f3edc9a3ac39e587b577acc3381fd489d6d926 Mon Sep 17 00:00:00 2001 From: Albin Vass Date: Mon, 4 May 2020 23:03:29 +0200 Subject: [PATCH] fetch-logs-openshift: fix miss when replacing item with loop_var: zj_ Change-Id: I7c9bd20ea026287724dcc0e48a614e9fa7736077 --- roles/fetch-output-openshift/tasks/rsync.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/fetch-output-openshift/tasks/rsync.yaml b/roles/fetch-output-openshift/tasks/rsync.yaml index 8f64db038..61156c952 100644 --- a/roles/fetch-output-openshift/tasks/rsync.yaml +++ b/roles/fetch-output-openshift/tasks/rsync.yaml @@ -1,8 +1,8 @@ --- - name: Fetch zuul-output from the pod command: > - oc --context "{{ item.1.context }}" - --namespace "{{ item.1.namespace }}" + oc --context "{{ zj_pod.1.context }}" + --namespace "{{ zj_pod.1.namespace }}" rsync -q --progress=false {{ zj_pod.1.pod }}:{{ zj_output.src }}/ {{ zj_output.dst }}/