install.yml 837 B

1234567891011121314151617181920212223242526272829
  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. hosts: oo_all_hosts
  12. become: yes
  13. gather_facts: yes
  14. tasks:
  15. - name: Install dependencies
  16. import_role:
  17. name: openshift_openstack
  18. tasks_from: node-packages.yml
  19. - name: Configure Node
  20. import_role:
  21. name: openshift_openstack
  22. tasks_from: node-configuration.yml
  23. - name: run the cluster deploy
  24. import_playbook: ../../deploy_cluster.yml