From 89476b48e53cd444cd984008fb48218b362193e2 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Tue, 21 Jan 2025 14:07:32 +0100 Subject: [PATCH] CI: scope stdout debug callback to kubespray test runs The debug callback apparently breaks using ansible-playbook in pre-commit, so scope the variables to only where we're using it instead. --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3dec5b6c8..8a5d89903 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,6 @@ variables: FAILFASTCI_NAMESPACE: 'kargo-ci' GITLAB_REPOSITORY: 'kargo-ci/kubernetes-sigs-kubespray' ANSIBLE_FORCE_COLOR: "true" - ANSIBLE_STDOUT_CALLBACK: "debug" MAGIC: "ci check this" GS_ACCESS_KEY_ID: $GS_KEY GS_SECRET_ACCESS_KEY: $GS_SECRET @@ -43,6 +42,8 @@ before_script: - cluster-dump/ needs: - pipeline-image + variables: + ANSIBLE_STDOUT_CALLBACK: "debug" .job-moderated: extends: .job