summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-03-16 16:26:26 +0100
committerScott Dodson <sdodson@redhat.com>2017-03-16 17:29:11 -0400
commit8cdc8ef6d651ae3f58fda55438e8f6d592727428 (patch)
treee3812d451ff7b53f4b7da180cdab9e9bbfb160bd
parent4dda3a72ba8e6a97b710b69f97af9ec624cfb919 (diff)
downloadopenshift-8cdc8ef6d651ae3f58fda55438e8f6d592727428.tar.gz
openshift-8cdc8ef6d651ae3f58fda55438e8f6d592727428.tar.bz2
openshift-8cdc8ef6d651ae3f58fda55438e8f6d592727428.tar.xz
openshift-8cdc8ef6d651ae3f58fda55438e8f6d592727428.zip
enable excluders during node/master scaling up
-rw-r--r--playbooks/common/openshift-master/scaleup.yml11
-rw-r--r--playbooks/common/openshift-node/scaleup.yml11
2 files changed, 22 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/scaleup.yml b/playbooks/common/openshift-master/scaleup.yml
index 18e5c665f..c59747081 100644
--- a/playbooks/common/openshift-master/scaleup.yml
+++ b/playbooks/common/openshift-master/scaleup.yml
@@ -60,8 +60,19 @@
- openshift_facts
- openshift_docker
+- include: ../openshift-cluster/disable_excluder.yml
+ vars:
+ # the excluders needs to be disabled no matter what status says
+ with_status_check: false
+ tags:
+ - always
+
- include: ../openshift-master/config.yml
- include: ../openshift-loadbalancer/config.yml
- include: ../openshift-node/config.yml
+
+- include: ../openshift-cluster/reset_excluder.yml
+ tags:
+ - always
diff --git a/playbooks/common/openshift-node/scaleup.yml b/playbooks/common/openshift-node/scaleup.yml
index bb3b1e780..d81bd152e 100644
--- a/playbooks/common/openshift-node/scaleup.yml
+++ b/playbooks/common/openshift-node/scaleup.yml
@@ -27,4 +27,15 @@
- openshift_facts
- openshift_docker
+- include: ../openshift-cluster/disable_excluder.yml
+ vars:
+ # the excluders needs to be disabled no matter what status says
+ with_status_check: false
+ tags:
+ - always
+
- include: ../openshift-node/config.yml
+
+- include: ../openshift-cluster/reset_excluder.yml
+ tags:
+ - always