zuul-jobs/test-playbooks/run-logjuicer.yaml
Tristan Cacqueray 26db5b3b24 Introduce LogJuicer roles
This change adds new roles to run logjuicer in zuul jobs:
  https://github.com/logjuicer/logjuicer

Change-Id: I02824a18285a16c8f0be6bb96b5404aa0d601c16
2024-01-08 16:09:17 +00:00

14 lines
360 B
YAML

---
- hosts: all
tasks:
- name: Generate random data
command: "echo {{ log_line }}"
vars:
log_line: "{{ ['eventa occured today', 'eventb happened previously', 'eventc presently failed'] | random }}"
- name: Run logjuicer
include_role:
name: run-logjuicer
vars:
zuul_web_url: https://zuul.opendev.org/