#This is the file you replace on /etc/ansible/hosts # Create an OSEv3 group that contains the masters and nodes groups [OSEv3:children] masters nodes # Set variables common for all OSEv3 hosts [OSEv3:vars] # SSH user, this user should allow ssh based auth without requiring a password ansible_ssh_user=root ansible_ssh_pass=VMware1! openshift_master_default_subdomain=ocpapps.acepod.com os_sdn_network_plugin_name=cni openshift_use_openshift_sdn=false openshift_use_nsx=true openshift_node_sdn_mtu=1500 openshift_enable_service_catalog=true # If ansible_ssh_user is not root, ansible_become must be set to true #ansible_become=true openshift_deployment_type=openshift-enterprise #openshift_deployment_type=origin openshift_disable_check=docker_storage,docker_image_availability #openshift_master_cluster_method=native #openshift_master_cluster_hostname=osmaster1.yasen.local #openshift_master_cluster_public_hostname=osmaster1.yasen.local openshift_disable_check=memory_availability,disk_availability,docker_storage,docker_image_availability,package_version # uncomment the following to enable htpasswd authentication; defaults to DenyAllPasswordIdentityProvider openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}] openshift_master_htpasswd_file=/root/htpasswd # host group for masters [masters] ocp-master ansible_ssh_host=10.11.1.10 # host group for etcd [etcd] ocp-master ansible_ssh_host=10.11.1.10 # host group for nodes, includes region info [nodes] ocp-master ansible_ssh_host=10.11.1.10 ocp-node01 ansible_ssh_host=10.11.1.11 ocp-node02 ansible_ssh_host=10.11.1.12 [nsxtransportnodes:children] masters nodes [root@ocp-master ~]#