From c35e222b6582eae09cc9f1d2a02ee0634e75231b Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Thu, 18 Mar 2021 10:49:54 +0000
Subject: [PATCH] Run integration tests with a different stdout_callback

Hopefully this will make errors a bit more readable in CI logs.
---
 test-driver | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test-driver b/test-driver
index 7d560a34..529b5f37 100755
--- a/test-driver
+++ b/test-driver
@@ -113,6 +113,9 @@ case "$cmd" in
         ;;
 
     run)
+        # The 'yaml' output format has slightly more legible errors.
+        export ANSIBLE_STDOUT_CALLBACK=yaml
+
         for playbook in "${float_dir}/test/integration-test-docker.yml" "$@"; do
             log Running test playbook ${playbook}
             ${float_dir}/float run ${playbook} \
-- 
GitLab