registry.yml 735 B

1234567891011121314151617181920
  1. ---
  2. - import_playbook: config.yml
  3. - name: Create persistent volumes
  4. hosts: oo_first_master
  5. roles:
  6. - role: openshift_persistent_volumes
  7. when: openshift_hosted_registry_storage_glusterfs_swap | default(False)
  8. - name: Create Hosted Resources
  9. hosts: oo_first_master
  10. tags:
  11. - hosted
  12. pre_tasks:
  13. - set_fact:
  14. openshift_hosted_router_registryurl: "{{ hostvars[groups.oo_first_master.0].openshift.master.registry_url }}"
  15. openshift_hosted_registry_registryurl: "{{ hostvars[groups.oo_first_master.0].openshift.master.registry_url }}"
  16. when: "'master' in hostvars[groups.oo_first_master.0].openshift and 'registry_url' in hostvars[groups.oo_first_master.0].openshift.master"
  17. roles:
  18. - role: openshift_hosted