From 6e4e6b9c9624766388faad948340d6ee2ac5ddba Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Fri, 4 Oct 2024 10:20:08 +0200 Subject: [PATCH] SF bootstrap-tenant command - fix the base pre-run playbook for container based job (wrong condition check) Change-Id: I990f07310895c24d6ccbaf9ed66ce9beafe7755d --- .../bootstrap-tenant-config-repo.go | 2 +- doc/reference/CHANGELOG.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/cmd/bootstrap-tenant-config-repo/bootstrap-tenant-config-repo.go b/cli/cmd/bootstrap-tenant-config-repo/bootstrap-tenant-config-repo.go index 06460469..d6f34257 100644 --- a/cli/cmd/bootstrap-tenant-config-repo/bootstrap-tenant-config-repo.go +++ b/cli/cmd/bootstrap-tenant-config-repo/bootstrap-tenant-config-repo.go @@ -218,7 +218,7 @@ pipeline to receive an initial +/-1 Verified vote.`, getAnsibleIncludeRole("remove-zuul-sshkey"), }, "run_once": true, - "when": "ansible_connection != 'kubectl'", + "when": "ansible_connection == 'kubectl'", }, { "import_role": map[string]string{ diff --git a/doc/reference/CHANGELOG.md b/doc/reference/CHANGELOG.md index 2e0bc964..ae01e45a 100644 --- a/doc/reference/CHANGELOG.md +++ b/doc/reference/CHANGELOG.md @@ -8,6 +8,9 @@ All notable changes to this project will be documented in this file. ### Removed ### Changed ### Fixed + +SF bootstrap-tenant command - fix the base pre-run playbook for container based job (wrong condition check) + ### Security ## [v0.0.43] - 2024-09-20