Created
May 19, 2018 07:46
-
-
Save amitbansal26/a562023207279425c99f772071bfa514 to your computer and use it in GitHub Desktop.
openshift gce 3.9 hosts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[masters] | |
master.cloudnativeapps.in | |
[etcd] | |
master.cloudnativeapps.in | |
[nodes] | |
master.cloudnativeapps.in | |
infra.cloudnativeapps.in openshift_node_labels="{'region': 'infra', 'zone': 'default'}" | |
node[1:2].cloudnativeapps.in openshift_node_labels="{'region': 'primary', 'zone': 'default'}" | |
# Create an OSEv3 group that contains the masters and nodes groups | |
[OSEv3:children] | |
masters | |
nodes | |
etcd | |
[OSEv3:vars] | |
ansible_user=amitb | |
ansible_become=yes | |
openshift_deployment_type=origin | |
openshift_release=v3.9 | |
openshift_master_default_subdomain=apps.cloudnativeapps.in | |
debug_level=2 | |
openshift_install_examples=true | |
openshift_use_crio=False | |
openshift_docker_selinux_enabled=False | |
docker_upgrade=False | |
# htpasswd auth | |
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}] | |
# Defining htpasswd users | |
openshift_master_htpasswd_users={'user1': '<pre-hashed password>', 'user2': '<pre-hashed password>'} | |
# GCE | |
openshift_cloudprovider_kind=gce | |
penshift_gcp_project is the project-id | |
openshift_gcp_project= | |
openshift_gcp_prefix= | |
openshift_gcp_multizone=False | |
openshift_master_cluster_hostname=master.cloudnativeapps.in | |
# default project node selector | |
osm_default_node_selector="region=primary" | |
openshift_hosted_router_selector="region=infra" | |
openshift_hosted_registry_selector="region=infra" | |
# Setting this variable to false will override that check. | |
openshift_hostname_check=false | |
openshift_use_dnsmasq=True | |
# Global Proxy Configuration | |
openshift_no_proxy=".cloudnativeapps.in" | |
openshift_generate_no_proxy_hosts=False | |
# Enable service catalog | |
openshift_enable_service_catalog=true | |
openshift_service_catalog_image_version=v3.9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment