We have been using the following ansible playbooks for testing feature/zuulv3 of zuul. This commit copies the playbooks from zuul and imports them here. Change-Id: Ib776cdce10b1f05501c46f6cf359723960f1bc71 Depends-On: I11da723df8823091f25e2a630e80ee4270d99a9b Depends-On: Ic03634dd02d2eb1fa5aa8a38f4beb5f0ec5582c6 Co-Authored-By: Andreas Jaeger <aj@suse.com> Signed-off-by: Paul Belanger <pabelanger@redhat.com>
14 lines
329 B
YAML
14 lines
329 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Collect console log.
|
|
synchronize:
|
|
dest: "{{ zuul.executor.log_root }}"
|
|
mode: pull
|
|
src: "/tmp/console.log"
|
|
|
|
- name: Publish logs.
|
|
copy:
|
|
dest: "/opt/zuul-logs/{{ zuul.uuid}}"
|
|
src: "{{ zuul.executor.log_root }}/"
|
|
delegate_to: 127.0.0.1
|