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:
parent
6013fc72af
commit
4f08b31430
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user