install.yml 834 B

12345678910111213141516171819202122232425262728
  1. ---
  2. # NOTE(shadower): the AWS playbook builds an in-memory inventory of
  3. # all the EC2 instances here. We don't need to as that's done by the
  4. # dynamic inventory.
  5. # TODO(shadower): the AWS playbook sets the
  6. # `openshift_master_cluster_hostname` and `osm_custom_cors_origins`
  7. # values here. We do it in the OSEv3 group vars. Do we need to add
  8. # some logic here?
  9. - import_playbook: ../../prerequisites.yml
  10. - name: Prepare the Nodes in the cluster for installation
  11. any_errors_fatal: true
  12. hosts: oo_all_hosts
  13. become: yes
  14. gather_facts: yes
  15. tasks:
  16. - name: Configure Node
  17. import_role:
  18. name: openshift_openstack
  19. tasks_from: node-configuration.yml
  20. - name: run the cluster deploy
  21. import_playbook: ../../deploy_cluster.yml
  22. - name: Show information about the deployed cluster
  23. import_playbook: cluster-info.yml