diff options
author | Scott Dodson <sdodson@redhat.com> | 2018-01-17 10:49:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-17 10:49:55 -0500 |
commit | 6c6529d4f08b3b69ff166f05a526e572467dda01 (patch) | |
tree | d290ccf6c67f41fb59e890532ce7509ae7494e9d /roles/openshift_hosted | |
parent | a1f7d5067f9e6c5c6de0a933eede664e1afb1fdb (diff) | |
parent | fd001349c6d35b204265a737832bc5b4227f6cb4 (diff) | |
download | openshift-6c6529d4f08b3b69ff166f05a526e572467dda01.tar.gz openshift-6c6529d4f08b3b69ff166f05a526e572467dda01.tar.bz2 openshift-6c6529d4f08b3b69ff166f05a526e572467dda01.tar.xz openshift-6c6529d4f08b3b69ff166f05a526e572467dda01.zip |
Merge pull request #6696 from sdodson/bz1532973
Add missing task that got dropped in a refactor
Diffstat (limited to 'roles/openshift_hosted')
-rw-r--r-- | roles/openshift_hosted/tasks/storage/glusterfs_endpoints.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/openshift_hosted/tasks/storage/glusterfs_endpoints.yml b/roles/openshift_hosted/tasks/storage/glusterfs_endpoints.yml index 77f020357..fef945d51 100644 --- a/roles/openshift_hosted/tasks/storage/glusterfs_endpoints.yml +++ b/roles/openshift_hosted/tasks/storage/glusterfs_endpoints.yml @@ -1,4 +1,10 @@ --- +- name: Create temp directory for doing work in + command: mktemp -d /tmp/openshift-hosted-ansible-XXXXXX + register: mktempHosted + changed_when: False + check_mode: no + - name: Generate GlusterFS registry endpoints template: src: "{{ openshift.common.examples_content_version }}/glusterfs-registry-endpoints.yml.j2" @@ -14,3 +20,10 @@ with_items: - "{{ mktempHosted.stdout }}/glusterfs-registry-service.yml" - "{{ mktempHosted.stdout }}/glusterfs-registry-endpoints.yml" + +- name: Delete temp directory + file: + name: "{{ mktempHosted.stdout }}" + state: absent + changed_when: False + check_mode: no |