install.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. - name: Evaluate basic OpenStack groups
  10. import_playbook: evaluate_groups.yml
  11. - import_playbook: ../../prerequisites.yml
  12. - name: Run the init
  13. import_playbook: ../../init/main.yml
  14. - name: Prepare the Nodes in the cluster for installation
  15. any_errors_fatal: true
  16. hosts: oo_all_hosts
  17. become: yes
  18. gather_facts: yes
  19. tasks:
  20. - name: Configure Node
  21. import_role:
  22. name: openshift_openstack
  23. tasks_from: node-configuration.yml
  24. - name: install NetworkManager
  25. import_playbook: ../../openshift-node/private/network_manager.yml
  26. - name: run the cluster deploy
  27. import_playbook: ../../deploy_cluster.yml
  28. - name: Show information about the deployed cluster
  29. import_playbook: cluster-info.yml