74b5e0a1b3
Don't log the complete stat output of every file we htmlify, it's boring. Change-Id: I72e6b6234361430a3a7a67f1235c797be4c0059e
16 lines
362 B
YAML
16 lines
362 B
YAML
- name: Find text files to HTMLify
|
|
find:
|
|
paths: "{{ zuul.executor.log_root }}"
|
|
recurse: true
|
|
patterns:
|
|
- "*.txt"
|
|
- "*.txt.gz"
|
|
register: htmlify_files
|
|
|
|
- name: HTMLify text files
|
|
htmlify:
|
|
input: "{{ item.path }}"
|
|
output: "{{ item.path | regex_replace('\\.txt', '.html') }}"
|
|
loop: "{{ htmlify_files.files }}"
|
|
no_log: true
|