浏览代码

Merge pull request #6090 from dustymabe/dusty

hosted_registry: clean up tmp mount point and fstab
Michael Gugino 7 年之前
父节点
当前提交
df88cb9361
共有 1 个文件被更改,包括 2 次插入9 次删除
  1. 2 9
      roles/openshift_hosted/tasks/storage/glusterfs.yml

+ 2 - 9
roles/openshift_hosted/tasks/storage/glusterfs.yml

@@ -79,14 +79,7 @@
       - REGISTRY_STORAGE_MAINTENANCE_READONLY_ENABLED: 'true'
   when: openshift.hosted.registry.storage.glusterfs.swap
 
-- name: Unmount registry volume
+- name: Unmount registry volume and clean up mount point/fstab
   mount:
-    state: unmounted
-    name: "{{ mktemp.stdout }}"
-
-- name: Delete temp mount directory
-  file:
-    dest: "{{ mktemp.stdout }}"
     state: absent
-  changed_when: False
-  check_mode: no
+    name: "{{ mktemp.stdout }}"