glusterfs_endpoints.yml 781 B

12345678910111213141516
  1. ---
  2. - name: Generate GlusterFS registry endpoints
  3. template:
  4. src: "{{ openshift.common.examples_content_version }}/glusterfs-registry-endpoints.yml.j2"
  5. dest: "{{ mktempHosted.stdout }}/glusterfs-registry-endpoints.yml"
  6. - name: Generate GlusterFS registry service
  7. template:
  8. src: "{{ openshift.common.examples_content_version }}/glusterfs-registry-service.yml.j2"
  9. dest: "{{ mktempHosted.stdout }}/glusterfs-registry-service.yml"
  10. - name: Create GlusterFS registry service and endpoint
  11. command: "{{ openshift.common.client_binary }} apply -f {{ item }} -n {{ openshift.hosted.registry.namespace | default('default') }}"
  12. with_items:
  13. - "{{ mktempHosted.stdout }}/glusterfs-registry-service.yml"
  14. - "{{ mktempHosted.stdout }}/glusterfs-registry-endpoints.yml"