1234567891011121314151617181920212223242526272829 |
- ---
- # NOTE(shadower): the AWS playbook builds an in-memory inventory of
- # all the EC2 instances here. We don't need to as that's done by the
- # dynamic inventory.
- # TODO(shadower): the AWS playbook sets the
- # `openshift_master_cluster_hostname` and `osm_custom_cors_origins`
- # values here. We do it in the OSEv3 group vars. Do we need to add
- # some logic here?
- - import_playbook: ../../prerequisites.yml
- - name: Prepare the Nodes in the cluster for installation
- hosts: oo_all_hosts
- become: yes
- gather_facts: yes
- tasks:
- - name: Install dependencies
- import_role:
- name: openshift_openstack
- tasks_from: node-packages.yml
- - name: Configure Node
- import_role:
- name: openshift_openstack
- tasks_from: node-configuration.yml
- - name: run the cluster deploy
- import_playbook: ../../deploy_cluster.yml
|