fix the condition to enable Kubernetes Dashboard

This commit is contained in:
An Qiuyu 2021-01-20 11:02:50 +08:00 committed by GitHub
parent 41be8a0d07
commit e4e5c6f3a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,4 +79,4 @@
command: "kubectl create -f {{ kubernetes_web_ui_manifest_file }}" command: "kubectl create -f {{ kubernetes_web_ui_manifest_file }}"
when: when:
- kubernetes_enable_web_ui | bool - kubernetes_enable_web_ui | bool
- kubernetes_dashboard_service is failed - kubernetes_dashboard_service.rc != 0