Created
January 15, 2016 19:56
-
-
Save detiber/d38aefe4cf37006a9f84 to your computer and use it in GitHub Desktop.
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
[OSEv3:children] | |
masters | |
nodes | |
etcd | |
lb | |
# Set variables common for all OSEv3 hosts | |
[OSEv3:vars] | |
ansible_ssh_user=ec2-user | |
ansible_sudo=true | |
# deployment type valid values are origin, online, atomic-enterprise, and openshift-enterprise | |
deployment_type=openshift-enterprise | |
# htpasswd auth | |
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/htpasswd'}] | |
# Allow all auth | |
#openshift_master_identity_providers=[{'name': 'allow_all', 'login': 'true', 'challenge': 'true', 'kind': 'AllowAllPasswordIdentityProvider'}] | |
# host group for masters | |
[masters] | |
<master instance hostname> | |
[etcd] | |
[lb] | |
# NOTE: Currently we require that masters be part of the SDN which requires that they also be nodes | |
# However, in order to ensure that your masters are not burdened with running pods you should | |
# make them unschedulable by adding openshift_schedulable=False any node that's also a master. | |
[nodes] | |
<master instance hostname> openshift_schedulable=False | |
<node instance 1> openshift_node_labels="{'region': 'primary', 'zone': 'default'}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment