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 461929ed..53385950 100644 --- a/doc/reference/CHANGELOG.md +++ b/doc/reference/CHANGELOG.md @@ -12,6 +12,9 @@ All notable changes to this project will be documented in this file. The HTTP input is deprecated and support for it will be removed at a later point. ### 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