From 451a99f567113893c346c2ed4dcc9bc99441a26e Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Mon, 28 Jun 2021 12:54:46 -0700 Subject: Fix error when attempting to remove missing webhook Issue-ID: MULTICLOUD-1370 Signed-off-by: Todd Malsbary Change-Id: If3b71f64b5994bbe6bd68e2b620452f4081cd705 --- kud/hosting_providers/vagrant/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kud') diff --git a/kud/hosting_providers/vagrant/installer.sh b/kud/hosting_providers/vagrant/installer.sh index 5535c31b..75472913 100755 --- a/kud/hosting_providers/vagrant/installer.sh +++ b/kud/hosting_providers/vagrant/installer.sh @@ -178,7 +178,7 @@ function install_addons { popd done # Remove Kata webhook if user didn't want it permanently installed - if ! [ "${enable_kata_webhook}" == "true" ]; then + if ! [ "${enable_kata_webhook}" == "true" ] && [ "${kata_webhook_deployed}" == "true" ]; then ansible-playbook $verbose -i $kud_inventory -e "base_dest=$HOME" \ -e "kata_webhook_runtimeclass=$kata_webhook_runtimeclass" \ $kud_playbooks/configure-kata-webhook-reset.yml \ -- cgit 1.2.3-korg