submit-logstash-jobs: fix the new location of the zuul log_url

This change makes the role compatible with zuul-4.6.0

Change-Id: Ib5afe3c5e540aa498e3009c6756f53df9f5f3b07
This commit is contained in:
Tristan Cacqueray 2021-06-24 15:24:20 +00:00
parent 8bbbeba1d5
commit 65ad0764ef
1 changed files with 1 additions and 1 deletions

View File

@ -6,4 +6,4 @@
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') }}"
log_url: "{{ (lookup('file', zuul.executor.result_data_file) | from_json).get('data').get('zuul').get('log_url') }}"