diff --git a/tasks/main.yaml b/tasks/main.yaml index 23b9f1e..c673b7b 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -40,6 +40,6 @@ - name: Check if we passed tests of all specified target programs fail: msg: "Refstack tests failed." - # the refstack_result var got set in run-refstack-client.yaml + # the refstack_results var got set in run-refstack-client.yaml when: item.rc > 0 - with_items: "{{ refstack_result.results }}" + with_items: "{{ refstack_results.results }}" diff --git a/tasks/run-refstack-client.yaml b/tasks/run-refstack-client.yaml index 1741d50..4ad1f8b 100644 --- a/tasks/run-refstack-client.yaml +++ b/tasks/run-refstack-client.yaml @@ -44,9 +44,9 @@ args: chdir: "{{ refstack_client_source }}" executable: /bin/bash - register: refstack_result + register: refstack_results # don't fail here in order to allow post_tasks be executed, - # the refstack_result is inspected in the last task of the role where it + # the refstack_results is inspected in the last task of the role where it # fails if it failed here ignore_errors: true with_items: "{{ refstack_target_programs }}"