Skip to content

Instantly share code, notes, and snippets.

@jason-callaway
Last active July 8, 2016 14:03
Show Gist options
  • Save jason-callaway/e105130614df8365c722c36fc20f0245 to your computer and use it in GitHub Desktop.
Save jason-callaway/e105130614df8365c722c36fc20f0245 to your computer and use it in GitHub Desktop.
Example ose32 hosts file
[OSEv3:children]
masters
nodes
[OSEv3:vars]
ansible_ssh_user=ec2-user
ansible_sudo=true
containerized=false
ansible_become=yes
debug_level=2
deployment_type=openshift-enterprise
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]
osm_default_node_selector='region=primary'
openshift_hosted_router_selector='region=infra'
openshift_registry_selector='region=infra'
openshift_master_console_port=443
openshift_master_default_subdomain=ose32-apps.rhtps.io
[masters]
ose32-master.rhtps.io
[nodes]
ose32-master.rhtps.io openshift_node_labels="{'region':'infra','zone':'default'}"
ose32-node1.rhtps.io openshift_node_labels="{'region':'primary','zone':'east'}"
ose32-node2.rhtps.io openshift_node_labels="{'region':'primary','zone':'west'}"
# ansible-playbook -i ./hosts /usr/share/ansible/openshift-ansible/playbooks/byo/config.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment