mirror of https://github.com/easzlab/kubeasz.git
fix: 容器化运行deploy任务时删除kubeconfig报错
parent
07e3f8f751
commit
7736893e03
|
@ -27,7 +27,7 @@
|
||||||
#----------- 创建kubectl kubeconfig文件: /root/.kube/config
|
#----------- 创建kubectl kubeconfig文件: /root/.kube/config
|
||||||
- block:
|
- block:
|
||||||
- name: 删除原有kubeconfig
|
- name: 删除原有kubeconfig
|
||||||
file: path=/root/.kube state=absent
|
file: path=/root/.kube/config state=absent
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: 下载 group:read rbac 文件
|
- name: 下载 group:read rbac 文件
|
||||||
|
|
Loading…
Reference in New Issue