fetch-logs-openshift: fix miss when replacing item with loop_var: zj_

Change-Id: I7c9bd20ea026287724dcc0e48a614e9fa7736077
This commit is contained in:
Albin Vass 2020-05-04 23:03:29 +02:00
parent f6806447b7
commit 66f3edc9a3

View File

@ -1,8 +1,8 @@
--- ---
- name: Fetch zuul-output from the pod - name: Fetch zuul-output from the pod
command: > command: >
oc --context "{{ item.1.context }}" oc --context "{{ zj_pod.1.context }}"
--namespace "{{ item.1.namespace }}" --namespace "{{ zj_pod.1.namespace }}"
rsync -q --progress=false rsync -q --progress=false
{{ zj_pod.1.pod }}:{{ zj_output.src }}/ {{ zj_pod.1.pod }}:{{ zj_output.src }}/
{{ zj_output.dst }}/ {{ zj_output.dst }}/