diff options
author | Dusty Mabe <dusty@dustymabe.com> | 2017-11-10 12:56:38 -0500 |
---|---|---|
committer | Dusty Mabe <dusty@dustymabe.com> | 2017-11-10 13:01:24 -0500 |
commit | faf425ca8a33a24168da808fc22667d3158bff35 (patch) | |
tree | e9aa85b4b4e7b40f48376cb04510d37070804f37 /roles/openshift_hosted/tasks | |
parent | 34dfb0d9f72f5d1cfbe408eecf45970ad02f5dd3 (diff) | |
download | openshift-faf425ca8a33a24168da808fc22667d3158bff35.tar.gz openshift-faf425ca8a33a24168da808fc22667d3158bff35.tar.bz2 openshift-faf425ca8a33a24168da808fc22667d3158bff35.tar.xz openshift-faf425ca8a33a24168da808fc22667d3158bff35.zip |
hosted_registry: clean up tmp mount point and fstab
Fixes #6004
Diffstat (limited to 'roles/openshift_hosted/tasks')
-rw-r--r-- | roles/openshift_hosted/tasks/storage/glusterfs.yml | 11 |
1 files changed, 2 insertions, 9 deletions
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 }}" |