瀏覽代碼

Merge pull request #7149 from jarrpa/uninstall-regression

Automatic merge from submit-queue.

GlusterFS: Fix uninstall regression

This reimpliments #6402 which was missed by #6918.

Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
OpenShift Merge Robot 7 年之前
父節點
當前提交
a2dfbe8bde
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      roles/openshift_storage_glusterfs/tasks/glusterfs_uninstall.yml

+ 1 - 0
roles/openshift_storage_glusterfs/tasks/glusterfs_uninstall.yml

@@ -49,6 +49,7 @@
     state: absent
     labels: "{{ glusterfs_nodeselector | lib_utils_oo_dict_to_list_of_dict }}"
   with_items: "{{ groups.all }}"
+  when: "'openshift' in hostvars[item]"
 
 - name: Delete pre-existing GlusterFS config
   file: