diff options
author | Michael Gugino <gugino.michael@yahoo.com> | 2017-11-22 15:14:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-22 15:14:42 -0500 |
commit | df88cb93618dff4ff28bad4a3d42a70676cfba23 (patch) | |
tree | a704cf12766eb18ee9408e21c14e032785fb2d14 /roles/openshift_hosted/tasks | |
parent | 71e090a7a301ffd5ccef6bb78a28bfae96130ce6 (diff) | |
parent | faf425ca8a33a24168da808fc22667d3158bff35 (diff) | |
download | openshift-df88cb93618dff4ff28bad4a3d42a70676cfba23.tar.gz openshift-df88cb93618dff4ff28bad4a3d42a70676cfba23.tar.bz2 openshift-df88cb93618dff4ff28bad4a3d42a70676cfba23.tar.xz openshift-df88cb93618dff4ff28bad4a3d42a70676cfba23.zip |
Merge pull request #6090 from dustymabe/dusty
hosted_registry: clean up tmp mount point and fstab
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 }}" |