# Create an OSEv3 group that contains the masters and nodes groups [OSEv3:children] masters nodes etcd # Set variables common for all OSEv3 hosts [OSEv3:vars] ansible_user=fedora ansible_become=true deployment_type=origin containerized=true openshift_release=v3.11.0 openshift_router_selector='node-role.kubernetes.io/infra=true' openshift_registry_selector='node-role.kubernetes.io/infra=true' openshift_master_default_subdomain=PUB3.xip.io openshift_disable_check=memory_availability,disk_availability,docker_image_availability ansible_python_interpreter=/usr/bin/python3 openshift_enable_service_catalog=false # enable htpasswd auth openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}] openshift_master_htpasswd_users={'admin': '$apr1$zgSjCrLt$1KSuj66CggeWSv.D.BXOA1', 'user': '$apr1$.gw8w9i1$ln9bfTRiD6OwuNTG5LvW50'} # host group for masters [masters] PUB1 openshift_public_hostname=PUB1 inventory_hostname=PRIV1 # host group for etcd, should run on a node that is not schedulable [etcd] PUB1 # host group for worker nodes, we list master node here so that # openshift-sdn gets installed. We mark the master node as not # schedulable. [nodes] PUB1 inventory_hostname=PRIV1 openshift_node_group_name="node-config-master" PUB2 inventory_hostname=PRIV2 openshift_node_group_name="node-config-compute" PUB3 inventory_hostname=PRIV3 openshift_node_group_name="node-config-infra"