- hosts: all | |
tasks: | |
- name: Collect console log. | |
synchronize: | |
dest: "{{ zuul.launcher.log_root }}" | |
mode: pull | |
src: "/tmp/console.log" | |
- name: Publish logs. | |
copy: | |
dest: "/opt/zuul-logs/{{ zuul.uuid}}" | |
src: "{{ zuul.launcher.log_root }}/" | |
delegate_to: 127.0.0.1 |