Chapter 6. Installing Red Hat OpenShift 3.11 on IBM PowerVC 125
etcd
nodes
lb
# host group for masters
[masters]
mstnode0[1:3].domain.example.com
# host group for etcd
[etcd]
mstnode0[1:3].domain.example.com
# Specify load balancer host
[lb]
lbsnode01.domain.example.com
[nodes]
mstnode0[1:3].domain.example.com openshift_node_group_name='node-config-master-infra'
wrknode0[1:3].domain.example.com openshift_node_group_name='node-config-compute'
Example 6-9   Ansible 3nodes inventory example
##-----------------------------------------------------------------------##
## 3Nodes (1xMaster-Infra, 3xWorkers(Applications):
##-----------------------------------------------------------------------##
[OSEv3:vars]
##-----------------------------------------------------------------------##
## Ansible Vars
##-----------------------------------------------------------------------##
timeout=60
# ansible_user={{CHANGEME_ANSIBLE_SSH_USER}}
# ansible_become=yes
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_image_tag=v3.11.154
openshift_pkg_version=-3.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
##-----------------------------------------------------------------------##
## 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