517bc81404
Change-Id: I41ce5a1ec5ca8b1b101af77169e31fc4a9131ae9
18 lines
472 B
YAML
18 lines
472 B
YAML
---
|
|
- name: Create src directory
|
|
command: >
|
|
oc --context "{{ item.1.context }}"
|
|
--namespace "{{ item.1.namespace }}"
|
|
exec {{ item.1.pod }} mkdir src
|
|
delegate_to: localhost
|
|
|
|
- name: Copy src repos to the pod
|
|
command: >
|
|
oc --context "{{ item.1.context }}"
|
|
--namespace "{{ item.1.namespace }}"
|
|
rsync -q --progress=false
|
|
{{ zuul.executor.src_root }}/
|
|
{{ item.1.pod }}:src/
|
|
no_log: true
|
|
delegate_to: localhost
|