summaryrefslogtreecommitdiffstats
path: root/inventory/hosts.openstack
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-12-08 15:49:41 -0800
committerGitHub <noreply@github.com>2017-12-08 15:49:41 -0800
commit54fe1e38764332634181cc7bdc0d0e7692304f91 (patch)
treeadae4f2b0e6bf75a63175a2371470789c22f0df0 /inventory/hosts.openstack
parentc0f7152a51c6306340f9634f191e81d4322d1b52 (diff)
parent2bf65cdab4aa88f160d005d3b7649b22a6dceba8 (diff)
downloadopenshift-54fe1e38764332634181cc7bdc0d0e7692304f91.tar.gz
openshift-54fe1e38764332634181cc7bdc0d0e7692304f91.tar.bz2
openshift-54fe1e38764332634181cc7bdc0d0e7692304f91.tar.xz
openshift-54fe1e38764332634181cc7bdc0d0e7692304f91.zip
Merge pull request #6399 from mtnbikenc/cleanup-byo-refs
Automatic merge from submit-queue. Cleanup byo references * Remove playbooks/byo/config.yml, replaced by playbooks/deploy_cluster.yml * Update example inventories * Update doc references to 'byo' paths
Diffstat (limited to 'inventory/hosts.openstack')
-rw-r--r--inventory/hosts.openstack37
1 files changed, 37 insertions, 0 deletions
diff --git a/inventory/hosts.openstack b/inventory/hosts.openstack
new file mode 100644
index 000000000..d928c2b86
--- /dev/null
+++ b/inventory/hosts.openstack
@@ -0,0 +1,37 @@
+# This is an example of an OpenShift-Ansible host inventory
+
+# 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]
+ansible_ssh_user=cloud-user
+ansible_become=yes
+
+# Debug level for all OpenShift components (Defaults to 2)
+debug_level=2
+
+openshift_deployment_type=openshift-enterprise
+
+openshift_additional_repos=[{'id': 'ose-3.1', 'name': 'ose-3.1', 'baseurl': 'http://pulp.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/ose/3.1/os', 'enabled': 1, 'gpgcheck': 0}]
+
+openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '{{ openshift.common.config_base }}/htpasswd'}]
+
+#openshift_pkg_version=-3.0.0.0
+
+[masters]
+jdetiber-master.usersys.redhat.com openshift_public_hostname="{{ inventory_hostname }}" openshift_hostname="{{ ansible_default_ipv4.address }}"
+
+[etcd]
+jdetiber-etcd.usersys.redhat.com
+
+[lb]
+#ose3-lb-ansible.test.example.com
+
+[nodes]
+jdetiber-master.usersys.redhat.com openshift_public_hostname="{{ inventory_hostname }}" openshift_hostname="{{ ansible_default_ipv4.address }}"
+jdetiber-node[1:2].usersys.redhat.com openshift_public_hostname="{{ inventory_hostname }}" openshift_hostname="{{ ansible_default_ipv4.address }}" openshift_node_labels="{'region': 'primary', 'zone': 'default'}"