From dc864a970a05f476b3bbd37398e13a737e472b1f Mon Sep 17 00:00:00 2001 From: Lukas Brabec Date: Mar 12 2018 11:48:48 +0000 Subject: [PATCH 1/2] print output of dnf task --- diff --git a/tests.yml b/tests.yml index c2e0ee8..e87ad76 100644 --- a/tests.yml +++ b/tests.yml @@ -21,6 +21,11 @@ - koji - libtaskotron-core - libtaskotron-fedora + register: dnf_output + + - name: Print output of dnf task + debug: + var: dnf_output - name: Make sure taskotron results dir exists # this is for placing results.yml file From 2cda3ebea563f3caec4f92f8c1912a01199fe75d Mon Sep 17 00:00:00 2001 From: Lukas Brabec Date: Mar 14 2018 14:22:03 +0000 Subject: [PATCH 2/2] debug output cleanup --- diff --git a/tests.yml b/tests.yml index e87ad76..135be48 100644 --- a/tests.yml +++ b/tests.yml @@ -23,9 +23,15 @@ - libtaskotron-fedora register: dnf_output - - name: Print output of dnf task + - name: Print msg of dnf task debug: - var: dnf_output + var: dnf_output.results[0].msg + when: "'msg' in dnf_output.results[0]" + + - name: Print results of dnf task + debug: + var: dnf_output.results[0].results + when: "'results' in dnf_output.results[0]" - name: Make sure taskotron results dir exists # this is for placing results.yml file