You can install NCP and OpenShift using a single playbook or perform the installation in separate steps.

The single Ansible playbook install.yaml performs the following tasks:

  • NCP preparation

  • OpenShift installation

  • NCP installation

Alternatively, you can install NCP and OpenShift using the instructions in the following two sections: Install CNI Plug-in, OVS, and NCP Docker Image and Install OpenShift Container Platform.

Before running the install.yaml playbook, set the required and optional parameters for the ncp_prep and ncp plabook roles. The parameters are described in Install CNI Plug-in, OVS, and NCP Docker Image.

The following command runs the playbook:

ansible-playbook -i /PATH/TO/HOSTS/hosts install.yaml