Skip to content

Instantly share code, notes, and snippets.

@dymurray
Created April 3, 2018 18:25
Show Gist options
  • Save dymurray/a7334b0608687d5d8557e563e5f46af2 to your computer and use it in GitHub Desktop.
Save dymurray/a7334b0608687d5d8557e563e5f46af2 to your computer and use it in GitHub Desktop.
# This is an example of an OpenShift-Ansible host inventory that provides the
# minimum recommended configuration for production use. This includes 3 masters,
# two infra nodes, two compute nodes, and an haproxy load balancer to load
# balance traffic to the API servers. For a truly production environment you
# should use an external load balancing solution that itself is highly available.
[masters]
master.example.com ansible_host=172.17.0.1
[etcd:children]
masters
[nodes:children]
masters
# Create an OSEv3 group that contains the masters and nodes groups
[OSEv3:children]
masters
nodes
[OSEv3:vars]
openshift_deployment_type=origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment