From 26fd9bab40e7ab36b3b32f58e87e5a1a7d5a7f6a Mon Sep 17 00:00:00 2001 From: David Lehman Date: Fri, 7 Dec 2018 14:07:06 -0500 Subject: [PATCH] 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. --- tests/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/tests.yml b/tests/tests.yml index eb5c51b..e9638dc 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -6,9 +6,10 @@ - classic tests: - list-devices: - dir: /usr/share/doc/python3-blivet/examples - run: python3 ./list_devices.py + dir: . + run: python3 /usr/share/doc/python3-blivet/examples/list_devices.py + tasks: - name: copy out blivet logs fetch: dest: "{{ artifacts }}"