소스 검색

GlusterFS: Fix uninstall regression

This reimpliments #6402 which was missed by #6918.

Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Jose A. Rivera 7 년 전
부모
커밋
96080146db
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: