summaryrefslogtreecommitdiffstats
path: root/inventory
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-01-30 15:57:33 -0800
committerGitHub <noreply@github.com>2018-01-30 15:57:33 -0800
commite7d32e9c20973468f51b8ae4fccbb4d6f107c15f (patch)
tree9410c1db0ddb4ea3ab0929dbf2d637f5084e3552 /inventory
parentc7d95858489f9b058a6d3816421c0a36ea455276 (diff)
parent70262d00b69fd100604fb8b25ffa2a39a23b87b8 (diff)
downloadopenshift-e7d32e9c20973468f51b8ae4fccbb4d6f107c15f.tar.gz
openshift-e7d32e9c20973468f51b8ae4fccbb4d6f107c15f.tar.bz2
openshift-e7d32e9c20973468f51b8ae4fccbb4d6f107c15f.tar.xz
openshift-e7d32e9c20973468f51b8ae4fccbb4d6f107c15f.zip
Merge pull request #6129 from sdodson/contrib
Automatic merge from submit-queue. Add a bare minimum localhost hosts file and docs Hopefully this makes things easier for folks new to ansible
Diffstat (limited to 'inventory')
-rw-r--r--inventory/hosts.localhost26
1 files changed, 26 insertions, 0 deletions
diff --git a/inventory/hosts.localhost b/inventory/hosts.localhost
new file mode 100644
index 000000000..41ed309e1
--- /dev/null
+++ b/inventory/hosts.localhost
@@ -0,0 +1,26 @@
+#bare minimum hostfile
+
+[OSEv3:children]
+masters
+nodes
+etcd
+
+[OSEv3:vars]
+# if your target hosts are Fedora uncomment this
+#ansible_python_interpreter=/usr/bin/python3
+openshift_deployment_type=origin
+openshift_release=3.7
+osm_cluster_network_cidr=10.128.0.0/14
+openshift_portal_net=172.30.0.0/16
+osm_host_subnet_length=9
+# localhost likely doesn't meet the minimum requirements
+openshift_disable_check=disk_availability,memory_availability
+
+[masters]
+localhost ansible_connection=local
+
+[etcd]
+localhost ansible_connection=local
+
+[nodes]
+localhost ansible_connection=local openshift_schedulable=true openshift_node_labels="{'region': 'infra', 'zone': 'default'}"