zuul-jobs/roles/prepare-workspace-openshift/tasks/rsync.yaml
Albin Vass bee0c6ae2f ansible-lint: use matchplay instead of matchtask
For some reason matchtask doesn't match includes, matchplay does so use
that instead.

Change-Id: I040f7f3394503e92d06c05e8ff671a43b14baebc
2020-05-05 20:42:38 +02:00

18 lines
484 B
YAML

---
- name: Create src directory
command: >
oc --context "{{ zj_pod.1.context }}"
--namespace "{{ zj_pod.1.namespace }}"
exec {{ zj_pod.1.pod }} mkdir src
delegate_to: localhost
- name: Copy src repos to the pod
command: >
oc --context "{{ zj_pod.1.context }}"
--namespace "{{ zj_pod.1.namespace }}"
rsync -q --progress=false
{{ zuul.executor.src_root }}/
{{ zj_pod.1.pod }}:src/
no_log: true
delegate_to: localhost