summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-04-07 16:07:57 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-05-03 15:45:16 +0200
commitba67bf5e155b81d5f313f6e8492ffd5d3b583286 (patch)
treeb9b33dd6886f64bc8dcc8a93caf4feb4ea2dca12 /playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
parent0a195fb83ecd592ca0b2c897dc240298cd64a75e (diff)
downloadopenshift-ba67bf5e155b81d5f313f6e8492ffd5d3b583286.tar.gz
openshift-ba67bf5e155b81d5f313f6e8492ffd5d3b583286.tar.bz2
openshift-ba67bf5e155b81d5f313f6e8492ffd5d3b583286.tar.xz
openshift-ba67bf5e155b81d5f313f6e8492ffd5d3b583286.zip
run excluders over selected set of hosts during control_plane/node upgrade
Disable/reset excluders over requested hosts
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
index e9f894942..2a5ac0aef 100644
--- a/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
+++ b/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
@@ -47,6 +47,12 @@
until: node_schedulable|succeeded
when: node_unschedulable|changed
-- include: ../reset_excluder.yml
+- name: Re-enable excluder if it was previously enabled
+ hosts: oo_nodes_to_config
tags:
- always
+ gather_facts: no
+ tasks:
+ - include_role:
+ name: openshift_excluder
+ tasks_from: enable