-
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
224 additions
and
207 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# 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=ec2-user | ||
|
||
# If ansible_ssh_user is not root, ansible_become must be set to true | ||
ansible_become=true | ||
|
||
deployment_type=origin | ||
|
||
# We need a wildcard DNS setup for our public access to services, fortunately | ||
# we can use the superb xip.io to get one for free. | ||
openshift_master_default_subdomain=${aws_instance.master.public_ip}.xip.io | ||
|
||
# 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'}] | ||
|
||
# Create the masters host group. Be explicit with the openshift_hostname, | ||
# otherwise it will resolve to something like ip-10-0-1-98.ec2.internal and use | ||
# that as the node name. | ||
[masters] | ||
master.openshift.local openshift_hostname=master.openshift.local | ||
|
||
# host group for etcd | ||
[etcd] | ||
master.openshift.local | ||
|
||
# host group for nodes, includes region info | ||
[nodes] | ||
master.openshift.local openshift_node_labels="{'region': 'infra', 'zone': 'default'}" openshift_schedulable=true | ||
node1.openshift.local openshift_hostname=node1.openshift.local openshift_node_labels="{'region': 'primary', 'zone': 'east'}" | ||
node2.openshift.local openshift_hostname=node2.openshift.local openshift_node_labels="{'region': 'primary', 'zone': 'west'}" |
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
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
Oops, something went wrong.