summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-08-31 14:42:01 -0400
committerRussell Teague <rteague@redhat.com>2017-08-31 15:38:41 -0400
commitecb0cbe04149fdcbf3992ccfc7578c6605462bc3 (patch)
tree4583608ae6c33d57d1bfd2e71ab54be8ada50ecc /playbooks/byo
parenta00df5740d98b1ba8aaef07d3f5ad16a12be3219 (diff)
downloadopenshift-ecb0cbe04149fdcbf3992ccfc7578c6605462bc3.tar.gz
openshift-ecb0cbe04149fdcbf3992ccfc7578c6605462bc3.tar.bz2
openshift-ecb0cbe04149fdcbf3992ccfc7578c6605462bc3.tar.xz
openshift-ecb0cbe04149fdcbf3992ccfc7578c6605462bc3.zip
Break out node config into stand-alone playbook
Added byo/openshift-node/config.yml as a new entry point for performing node installation. This playbook must be run after masters have already been deployed. Excluder disable/enable for both nodes and masters has been moved their respective config.yml. This created a common pattern that could be used for both installation and scaleup playbooks.
Diffstat (limited to 'playbooks/byo')
-rw-r--r--playbooks/byo/openshift-node/config.yml6
-rw-r--r--playbooks/byo/openshift-node/restart.yml4
-rw-r--r--playbooks/byo/openshift-node/scaleup.yml7
3 files changed, 7 insertions, 10 deletions
diff --git a/playbooks/byo/openshift-node/config.yml b/playbooks/byo/openshift-node/config.yml
new file mode 100644
index 000000000..839dc36ff
--- /dev/null
+++ b/playbooks/byo/openshift-node/config.yml
@@ -0,0 +1,6 @@
+---
+- include: ../openshift-cluster/initialize_groups.yml
+
+- include: ../../common/openshift-cluster/std_include.yml
+
+- include: ../../common/openshift-node/config.yml
diff --git a/playbooks/byo/openshift-node/restart.yml b/playbooks/byo/openshift-node/restart.yml
index 92665d71d..ccf9e82da 100644
--- a/playbooks/byo/openshift-node/restart.yml
+++ b/playbooks/byo/openshift-node/restart.yml
@@ -1,10 +1,6 @@
---
- include: ../openshift-cluster/initialize_groups.yml
- tags:
- - always
- include: ../../common/openshift-cluster/std_include.yml
- tags:
- - always
- include: ../../common/openshift-node/restart.yml
diff --git a/playbooks/byo/openshift-node/scaleup.yml b/playbooks/byo/openshift-node/scaleup.yml
index 0225623c6..e0c36fb69 100644
--- a/playbooks/byo/openshift-node/scaleup.yml
+++ b/playbooks/byo/openshift-node/scaleup.yml
@@ -16,9 +16,4 @@
- include: ../../common/openshift-cluster/std_include.yml
-- include: ../../common/openshift-node/scaleup.yml
- vars:
- openshift_cluster_id: "{{ cluster_id | default('default') }}"
- openshift_debug_level: "{{ debug_level | default(2) }}"
- openshift_master_etcd_hosts: "{{ groups.etcd | default([]) }}"
- openshift_master_etcd_port: 2379
+- include: ../../common/openshift-node/config.yml