浏览代码

Remove Get heketi route tasks

Kenjiro Nakayama 6 年之前
父节点
当前提交
936eba723b
共有 1 个文件被更改,包括 0 次插入20 次删除
  1. 0 20
      roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml

+ 0 - 20
roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml

@@ -282,16 +282,6 @@
     when:
     - glusterfs_heketi_admin_key is defined
 
-  - name: Get heketi route
-    oc_obj:
-      namespace: "{{ glusterfs_namespace }}"
-      kind: route
-      state: list
-      name: "heketi-{{ glusterfs_name }}"
-    register: heketi_route
-    when:
-    - glusterfs_heketi_is_native
-
   - name: Generate GlusterFS StorageClass file
     template:
       src: "glusterfs-storageclass.yml.j2"
@@ -326,16 +316,6 @@
         data: "{{ glusterfs_heketi_admin_key }}"
     when: glusterfs_heketi_admin_key is defined
 
-  - name: Get heketi route
-    oc_obj:
-      namespace: "{{ glusterfs_namespace }}"
-      kind: route
-      state: list
-      name: "heketi-{{ glusterfs_name }}"
-    register: heketi_route
-    when:
-    - glusterfs_heketi_is_native
-
   - name: Generate Gluster Block StorageClass file
     template:
       src: "gluster-block-storageclass.yml.j2"