Created
June 16, 2017 12:19
-
-
Save arialdomartini/c546ce4fb1f79f87659989ae67892993 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# 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_become=true | |
#ansible_become_user=root | |
#ansible_sudo=root | |
containerized=true | |
openshift_clock_enabled=true | |
openshift_deployment_type=origin | |
openshift_release=1.5.1 | |
openshift_disable_check=memory_availability, docker_storage | |
openshift_docker_insecure_registries=172.30.0.0/16 | |
# 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_users={'admin': '$apr1$zgSjCrLt$1KSuj66CggeWSv.D.BXOA1', 'user': '$apr1$.gw8w9i1$ln9bfTRiD6OwuNTG5LvW50'} | |
# host group for masters | |
[masters] | |
master.adunicorn.local | |
# host group for etcd | |
[etcd] | |
master.adunicorn.local | |
# host group for nodes, includes region info | |
[nodes] | |
master.adunicorn.local openshift_node_labels="{'region': 'infra'}" openshift_schedulable=false | |
minion1.adunicorn.local openshift_node_labels="{'region': 'primary', 'zone': 'east'}" openshift_schedulable=true | |
minion2.adunicorn.local openshift_node_labels="{'region': 'primary', 'zone': 'east'}" openshift_schedulable=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment