瀏覽代碼

Clean oc caches after openshift APIs have registered

Vadim Rutkovsky 6 年之前
父節點
當前提交
eadffbd57a
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      roles/openshift_control_plane/tasks/main.yml

+ 5 - 0
roles/openshift_control_plane/tasks/main.yml

@@ -305,3 +305,8 @@
   with_items: "{{ l_core_api_list }}"
   retries: 60
   delay: 5
+
+- name: Remove oc cache to refresh a list of APIs
+  file:
+    path: "~/.kube/cache"
+    state: absent