4af438d136
Change-Id: I5ea4232ca4fd6e03d5b5f72eb6704bee84d04ea5
17 lines
550 B
YAML
17 lines
550 B
YAML
- name: Look for subunit2html command
|
|
script: "find-subunit2html.sh {{ zuul_work_dir }}"
|
|
failed_when: false
|
|
register: find_subunit2html_output
|
|
|
|
- name: Define subunit_html_command fact
|
|
when:
|
|
- find_subunit2html_output.rc == 0
|
|
- find_subunit2html_output.stdout_lines
|
|
set_fact:
|
|
subunit_html_command: "{{ find_subunit2html_output.stdout_lines[0] }}"
|
|
|
|
- name: Emit a debug line so we can search logstash for fallback hits
|
|
debug:
|
|
msg: "subunit2html found in: {{ subunit_html_command }}"
|
|
when: subunit_html_command is defined
|