summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-08-06 12:33:53 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-08-06 12:33:53 -0400
commit23bbc96a8161c09dbaf9046561eb63c8051480a7 (patch)
tree22a2437691c3285974d7cbeff71e5dd0a6ad4a71
parentbf01e8911fa875250856d5d554da0cb779195fa8 (diff)
parent517557bd7e7bf22c5ccfc226df32e86dab70940a (diff)
downloadopenshift-23bbc96a8161c09dbaf9046561eb63c8051480a7.tar.gz
openshift-23bbc96a8161c09dbaf9046561eb63c8051480a7.tar.bz2
openshift-23bbc96a8161c09dbaf9046561eb63c8051480a7.tar.xz
openshift-23bbc96a8161c09dbaf9046561eb63c8051480a7.zip
Merge pull request #430 from sdodson/revert-423-namespace-inventory
Revert "namespace the byo inventory so the group names aren't so geneā€¦
-rw-r--r--README_OSE.md10
-rw-r--r--README_origin.md10
-rw-r--r--Vagrantfile4
-rw-r--r--inventory/byo/hosts.example8
-rw-r--r--playbooks/byo/openshift-cluster/config.yml4
5 files changed, 18 insertions, 18 deletions
diff --git a/README_OSE.md b/README_OSE.md
index 116717033..31173e5d6 100644
--- a/README_OSE.md
+++ b/README_OSE.md
@@ -65,8 +65,8 @@ option to ansible-playbook.
# Create an OSEv3 group that contains the masters and nodes groups
[OSEv3:children]
-openshift_masters
-openshift_nodes
+masters
+nodes
# Set variables common for all OSEv3 hosts
[OSEv3:vars]
@@ -96,11 +96,11 @@ openshift_additional_repos=[{'id': 'ose-devel', 'name': 'ose-devel',
'https://copr-be.cloud.fedoraproject.org/results/maxamillion/origin-next/pubkey.gpg'}]
# host group for masters
-[openshift_masters]
+[masters]
ose3-master.example.com
# host group for nodes
-[openshift_nodes]
+[nodes]
ose3-node[1:2].example.com
```
@@ -234,7 +234,7 @@ what we expect them to be (if not, we can override them).
To override the the defaults, you can set the variables in your inventory:
```
...snip...
-[openshift_masters]
+[masters]
ose3-master.example.com openshift_ip=1.1.1.1 openshift_hostname=ose3-master.example.com openshift_public_ip=2.2.2.2 openshift_public_hostname=ose3-master.public.example.com
...snip...
```
diff --git a/README_origin.md b/README_origin.md
index a30ad2c71..f13fe660a 100644
--- a/README_origin.md
+++ b/README_origin.md
@@ -54,8 +54,8 @@ option to ansible-playbook.
# Create an OSEv3 group that contains the masters and nodes groups
[OSv3:children]
-openshift_masters
-openshift_nodes
+masters
+nodes
# Set variables common for all OSEv3 hosts
[OSv3:vars]
@@ -68,11 +68,11 @@ ansible_ssh_user=root
deployment_type=origin
# host group for masters
-[openshift_masters]
+[masters]
osv3-master.example.com
# host group for nodes
-[openshift_nodes]
+[nodes]
osv3-node[1:2].example.com
```
@@ -207,7 +207,7 @@ what we expect them to be (if not, we can override them).
To override the the defaults, you can set the variables in your inventory:
```
...snip...
-[openshift_masters]
+[masters]
osv3-master.example.com openshift_ip=1.1.1.1 openshift_hostname=osv3-master.example.com openshift_public_ip=2.2.2.2 openshift_public_hostname=osv3-master.public.example.com
...snip...
```
diff --git a/Vagrantfile b/Vagrantfile
index 8e6796927..a832ae84e 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -52,8 +52,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
ansible.limit = 'all'
ansible.sudo = true
ansible.groups = {
- "openshift_masters" => ["master"],
- "openshift_nodes" => ["node1", "node2"],
+ "masters" => ["master"],
+ "nodes" => ["node1", "node2"],
}
ansible.extra_vars = {
openshift_deployment_type: "origin",
diff --git a/inventory/byo/hosts.example b/inventory/byo/hosts.example
index c8a4272f0..4c652d06e 100644
--- a/inventory/byo/hosts.example
+++ b/inventory/byo/hosts.example
@@ -2,8 +2,8 @@
# Create an OSEv3 group that contains the masters and nodes groups
[OSEv3:children]
-openshift_masters
-openshift_nodes
+masters
+nodes
etcd
# Set variables common for all OSEv3 hosts
@@ -58,13 +58,13 @@ deployment_type=enterprise
#osm_default_subdomain=apps.test.example.com
# host group for masters
-[openshift_masters]
+[masters]
ose3-master[1:3]-ansible.test.example.com
[etcd]
ose3-etcd[1:3]-ansible.test.example.com
# host group for nodes
-[openshift_nodes]
+[nodes]
ose3-master[1:3]-ansible.test.example.com openshift_scheduleable=False
ose3-node[1:2]-ansible.test.example.com openshift_node_labels="{'region': 'primary', 'zone': 'default'}"
diff --git a/playbooks/byo/openshift-cluster/config.yml b/playbooks/byo/openshift-cluster/config.yml
index 67d394e5d..2ee1d50a7 100644
--- a/playbooks/byo/openshift-cluster/config.yml
+++ b/playbooks/byo/openshift-cluster/config.yml
@@ -2,8 +2,8 @@
- include: ../../common/openshift-cluster/config.yml
vars:
g_etcd_group: "{{ 'etcd' }}"
- g_masters_group: "{{ 'openshift_masters' }}"
- g_nodes_group: "{{ 'openshift_nodes' }}"
+ g_masters_group: "{{ 'masters' }}"
+ g_nodes_group: "{{ 'nodes' }}"
openshift_cluster_id: "{{ cluster_id | default('default') }}"
openshift_debug_level: 4
openshift_deployment_type: "{{ deployment_type }}"