From faf425ca8a33a24168da808fc22667d3158bff35 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Fri, 10 Nov 2017 12:56:38 -0500 Subject: hosted_registry: clean up tmp mount point and fstab Fixes #6004 --- roles/openshift_hosted/tasks/storage/glusterfs.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'roles/openshift_hosted') diff --git a/roles/openshift_hosted/tasks/storage/glusterfs.yml b/roles/openshift_hosted/tasks/storage/glusterfs.yml index c2954fde1..9b998142a 100644 --- a/roles/openshift_hosted/tasks/storage/glusterfs.yml +++ b/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 }}" -- cgit v1.2.1