tobiko/roles/tobiko/tasks/main.yaml

29 lines
657 B
YAML

---
- become: yes
become_user: "{{ tobiko_user }}"
environment:
PYTHON_VERSION: "{{ python_version }}"
block:
- when: tobiko_pre_run | bool
block:
- include: pre/source.yaml
- include: pre/config.yaml
- include: pre/output.yaml
- include: pre/tools.yaml
- when: tobiko_run | bool
block:
- include: run/tests.yaml
when: tobiko_run_tests | bool
- include: run/faults.yaml
when: tobiko_run_faults | bool
- when: tobiko_post_run | bool
block:
- include: post/config.yaml
- include: post/report.yaml
- include: post/log.yaml