project-config/roles/submit-logstash-jobs/tasks/main.yaml
James E. Blair fad3ecd79b Update success to zuul_success
Change-Id: I59eb5e4c76b6de76028f0303bd4ffd4143c0da18
2017-09-13 09:19:40 -06:00

10 lines
421 B
YAML

- name: Submit logstash processing jobs to log processors
submit_log_processor_jobs:
gearman_server: "{{ logstash_gearman_server }}"
job: "push-log"
config: "{{ logstash_processor_config }}"
success: "{{ zuul_success }}"
host_vars: "{{ hostvars }}"
path: "{{ zuul.executor.log_root }}"
log_url: "{{ (lookup('file', zuul.executor.result_data_file) | from_json).get('zuul').get('log_url') }}"