Skip to content

Instantly share code, notes, and snippets.

@sheppduck
Created June 28, 2018 20:30
Show Gist options
  • Save sheppduck/f4e097775eaedee27213c526486b2346 to your computer and use it in GitHub Desktop.
Save sheppduck/f4e097775eaedee27213c526486b2346 to your computer and use it in GitHub Desktop.
# Create an OSEv3 group that contains the masters and nodes groups
[OSEv3:children]
masters
nodes
etcd
#lb
# 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
# If ansible_ssh_user is not root, ansible_become must be set to true
ansible_become=false
# Deploy OpenShift origin.
deployment_type=openshift-enterprise
openshift_public_hostname=18.219.153.29
#openshift_master_default_subdomain=${master_default_subdomain}
# Use an htpasswd file as the indentity provider.
openshift_master_identity_providers=[{'name': 'allow_all', 'login': 'true', 'challenge': 'true', 'mappingMethod': 'claim', 'kind': 'AllowAllPasswordIdentityProvider'}, {'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/users.htpasswd'}]
openshift_hosted_metrics_deploy=false
openshift_metrics_install_metrics=false
use_cluster_metrics=false
openshift_clock_enabled=true
openshift_disable_check=memory_availability,disk_availability
openshift_web_console_nodeselector={'region':'infra'}
[masters]
172.31.26.18 openshift_node_labels="{'region': 'infra', 'zone': 'default'}" openshift_schedulable=true
[etcd]
172.31.26.18
[nodes]
172.31.18.39 openshift_node_labels="{'region': 'primary', 'zone': 'default'}"
172.31.22.223 openshift_node_labels="{'region': 'primary', 'zone': 'default'}"
172.31.24.107 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