26fd9bab40
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.
19 lines
408 B
YAML
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"]
|