36d642a6a0
This finalises the ports of the legacy jobs to zuul native jobs. The dib-setup-gate-mirrors role preconfigures the repo templates, etc. for the openstack-ci-mirrors element. The dib-functests role runs the tests as specified by dib_functests, and can run under python2 or 3. Change-Id: Ied67a31f0d31503d13eccad8662c29740c93f33e
13 lines
377 B
YAML
13 lines
377 B
YAML
- hosts: all
|
|
tasks:
|
|
|
|
- name: Check logs directory exists
|
|
stat: path='{{ ansible_user_dir }}/logs/'
|
|
register: check_path
|
|
|
|
- name: Copy log files from {{ ansible_user_dir }} on node
|
|
synchronize:
|
|
src: '{{ ansible_user_dir }}/logs/'
|
|
dest: '{{ zuul.executor.log_root }}/logs'
|
|
mode: pull
|
|
when: check_path.stat.exists == true
|