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.
This commit is contained in:
Bruno Wolff III 2019-05-23 09:39:06 -05:00
parent 6013fc72af
commit 4f08b31430

View File

@ -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: