From 4f08b31430c1776e53bfc5ce5bbc9666f530e987 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: May 23 2019 14:39:06 +0000 Subject: Change to supported method of referring to artifacts location The documentation used to be wrong, but has been fixed. So the hack here has been fixed as well. --- diff --git a/tests/test_working.yml b/tests/test_working.yml index bcc7884..e56f101 100644 --- a/tests/test_working.yml +++ b/tests/test_working.yml @@ -1,5 +1,7 @@ --- - hosts: localhost + vars: + - artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}" tags: - classic remote_user: root @@ -20,7 +22,7 @@ always: - name: Pull out the logs fetch: - dest: "../../logs/" + dest: "{{ artifacts }}" src: "{{ item }}" flat: yes with_items: