From b78097c2c850d1b4cdca6568c681e1cd1fb18a49 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 22 Aug 2017 21:20:00 +0200 Subject: [PATCH] tests: Setup defaults for subjects and artifacts While hacking on tests, folks are going to be relying on the default behavior of standard-test-roles which fills in these Ansible variables from environment variables. This is not necessary for execution in the pipeline, but just for ease of use for folks looking at this first test in dist-git. --- tests/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/tests.yml b/tests/tests.yml index f06355f..035e0b2 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -1,5 +1,8 @@ --- - hosts: localhost + vars: + artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}" + subjects: "{{ lookup('env', 'TEST_SUBJECTS')}}" tags: - atomic tasks: