create-registry-volume.yml 527 B

12345678910
  1. ---
  2. - name: Create the Cinder Registry volume
  3. os_volume:
  4. display_name: "{{ cinder_registry_volume_name }}"
  5. size: "{{ cinder_registry_volume_size }}"
  6. display_description: "Storage for the OpenShift registry"
  7. register: cinder_registry_volume
  8. vars:
  9. cinder_registry_volume_name: "{{ hostvars[groups.infra_hosts.0].openshift_hosted_registry_storage_volume_name }}"
  10. cinder_registry_volume_size: "{{ hostvars[groups.infra_hosts.0].openshift_hosted_registry_storage_volume_size | regex_replace('[A-Z]i$') }}"