#10 Change to supported method of referring to artifacts location
Merged 4 years ago by bruno. Opened 4 years ago by bruno.
f29  into  f28

file modified
+3 -1
@@ -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:

no initial comment

Pull-Request has been merged by bruno

4 years ago