diff --git a/playbooks/periodic/goaccess.yaml b/playbooks/periodic/goaccess.yaml index 90f3a207b3..ade92439ae 100644 --- a/playbooks/periodic/goaccess.yaml +++ b/playbooks/periodic/goaccess.yaml @@ -58,3 +58,12 @@ ( cat ${SOURCE_FILE}{,.1} ; zcat ${SOURCE_FILE}.*.gz ) | goaccess -o $OUT_FILE -p /home/zuul/goaccess.conf - args: executable: /bin/bash + # Not using normal zuul job roles as static.opendev.org is not a + # test node with all the normal bits in place. + # TODO: should this be an artifact instead? + - name: Collect log output + synchronize: + dest: "{{ zuul.executor.log_root }}/{{ goaccess_site }}_goaccess_report.html" + mode: pull + src: "/home/zuul/{{ goaccess_site }}_goaccess_report.html" + verify_host: true