From e4e5c6f3a07668868b4b195a1aa4bdb2b93efaaa Mon Sep 17 00:00:00 2001 From: An Qiuyu Date: Wed, 20 Jan 2021 11:02:50 +0800 Subject: [PATCH] fix the condition to enable Kubernetes Dashboard --- tasks/master-setup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/master-setup.yml b/tasks/master-setup.yml index fffcd39..80aa346 100644 --- a/tasks/master-setup.yml +++ b/tasks/master-setup.yml @@ -79,4 +79,4 @@ command: "kubectl create -f {{ kubernetes_web_ui_manifest_file }}" when: - kubernetes_enable_web_ui | bool - - kubernetes_dashboard_service is failed + - kubernetes_dashboard_service.rc != 0