summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-05-11 11:46:34 -0400
committerRussell Teague <rteague@redhat.com>2017-05-16 11:20:26 -0400
commitc5c222eddb0b8950995105c4c406f5a5d0bfbacd (patch)
tree7f5cd9c30afb7f8f9e0d78696de0813078fb9928 /playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
parent15fd42020a0b5fee665c45cd23b9ba3bd152251d (diff)
downloadopenshift-c5c222eddb0b8950995105c4c406f5a5d0bfbacd.tar.gz
openshift-c5c222eddb0b8950995105c4c406f5a5d0bfbacd.tar.bz2
openshift-c5c222eddb0b8950995105c4c406f5a5d0bfbacd.tar.xz
openshift-c5c222eddb0b8950995105c4c406f5a5d0bfbacd.zip
Rework openshift_excluders role
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml13
1 files changed, 3 insertions, 10 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
index 2a5ac0aef..4d455fe0a 100644
--- a/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
+++ b/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
@@ -34,6 +34,9 @@
- openshift_facts
- docker
- openshift_node_upgrade
+ - role: openshift_excluder
+ r_openshift_excluder_action: enable
+ r_openshift_excluder_service_type: "{{ openshift.common.service_type }}"
post_tasks:
- name: Set node schedulability
@@ -46,13 +49,3 @@
register: node_schedulable
until: node_schedulable|succeeded
when: node_unschedulable|changed
-
-- 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