diff --git a/roles/upload-logs/tasks/main.yaml b/roles/upload-logs/tasks/main.yaml index 778d97891..e4f16b1fb 100644 --- a/roles/upload-logs/tasks/main.yaml +++ b/roles/upload-logs/tasks/main.yaml @@ -35,11 +35,10 @@ dest: "{{zuul_logserver_root}}/{{ log_path }}/job-output.txt.gz" verify_host: true - post_tasks: - - name: Return log URL to Zuul - delegate_to: localhost - zuul_return: - data: - zuul: - log_url: "{{ zuul_log_url }}/{{ log_path }}/" - when: zuul_log_url is defined +- name: Return log URL to Zuul + delegate_to: localhost + zuul_return: + data: + zuul: + log_url: "{{ zuul_log_url }}/{{ log_path }}/" + when: zuul_log_url is defined