120 Red Hat OpenShift and IBM Cloud Paks on IBM Power Systems: Volume 1
6.3.4  Installing the OpenShift Container Platform
Complete the following steps to install OpenShift Container Platform:
1. Create the Ansible inventory file. You can use the aio.inv.example for All-In-One (AIO) 
configuration (see Example 6-7), 7nodes.inv.example for seven nodes configuration (see 
Example 6-8 on page 122), or 3nodes.inv.example for three nodes configuration (see 
Example 6-9 on page 125). Many other configurations are possible that can be used but 
are not covered in this book.
Example 6-7   Ansible all in one inventory example
##-----------------------------------------------------------------------##
## All-in-One(AIO):
##-----------------------------------------------------------------------##
[OSEv3:vars]
##-----------------------------------------------------------------------##
## Ansible Vars
##-----------------------------------------------------------------------##
timeout=60
# ansible_user={{CHANGEME_ANSIBLE_SSH_USER}}
ansible_user=root
##-----------------------------------------------------------------------##
## OpenShift Basic Vars
##-----------------------------------------------------------------------##
# Deployment type
openshift_deployment_type=openshift-enterprise
# WARNING: only disable these checks in LAB/TEST environments
# openshift_disable_check="disk_availability,memory_availability"
# OpenShift Version:
openshift_release=3.11
openshift_pkg_version=-3.11.154
openshift_image_tag=v3.11.154
# firewalld recommended for new installations (default is iptables)
os_firewall_use_firewalld=true
# enable ntp on masters to ensure proper failover
openshift_clock_enabled=true
debug_level=5
##-----------------------------------------------------------------------##
## OpenShift Registries Locations
##-----------------------------------------------------------------------##
# NOTE: Need credentials from: https://access.redhat.com/terms-based-registry/
oreg_url=registry.redhat.io/openshift3/ose-${component}:${version}
oreg_auth_user={{CHANGEME_REGISTRY_SERVICE_ACCOUNT}}
oreg_auth_password={{CHANGEME_SERVICE_KEY}}
##-----------------------------------------------------------------------##
## OpenShift Master Vars
##-----------------------------------------------------------------------##
openshift_master_api_port=8443
openshift_master_console_port=8443
# Internal cluster name
openshift_master_cluster_hostname=bsocp01.domain.example.com
# External cluster name
# openshift_master_cluster_public_hostname=ocp-ext.example.com
# Default wildcard domain for applications
openshift_master_default_subdomain=apps.bs.ibm.com