python-blivet/tests/tests.yml
David Lehman 26fd9bab40 Followups for initial CI test.
Add missing tasks section to tests playbook.

Use an absolute path to the example script since 'dir' is always
relative to /var/str.

Must define 'dir' explicitly -- there is no default handling.
2018-12-10 12:52:50 -05:00

19 lines
408 B
YAML

---
- hosts: all
roles:
- role: standard-test-basic
tags:
- classic
tests:
- list-devices:
dir: .
run: python3 /usr/share/doc/python3-blivet/examples/list_devices.py
tasks:
- name: copy out blivet logs
fetch:
dest: "{{ artifacts }}"
src: "{{ item }}"
flat: yes
loop: ["/tmp/blivet.log", "/tmp/program.log"]