summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/disable_excluder.yml
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-05-02 10:13:00 +0200
committerGitHub <noreply@github.com>2017-05-02 10:13:00 +0200
commit5e6c8d2f4b4e228f694713902a04c26c0f355c71 (patch)
tree3a4f15f27d56beb9bfc8e191f3c5fd0dbba40cf3 /playbooks/common/openshift-cluster/upgrades/disable_excluder.yml
parent81cf5123366814d098b7ca169a6e4deb2759507d (diff)
parent1b0556f73f6cac0ee799f5746248d3c51fd8ce9f (diff)
downloadopenshift-5e6c8d2f4b4e228f694713902a04c26c0f355c71.tar.gz
openshift-5e6c8d2f4b4e228f694713902a04c26c0f355c71.tar.bz2
openshift-5e6c8d2f4b4e228f694713902a04c26c0f355c71.tar.xz
openshift-5e6c8d2f4b4e228f694713902a04c26c0f355c71.zip
Merge pull request #4034 from ingvagabund/move-excluder-verification-code-under-excluders-role
[RFE] move excluder upgrade validation tasks under openshift_excluder role
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/disable_excluder.yml')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/disable_excluder.yml13
1 files changed, 4 insertions, 9 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/disable_excluder.yml b/playbooks/common/openshift-cluster/upgrades/disable_excluder.yml
index a30952929..02042c1ef 100644
--- a/playbooks/common/openshift-cluster/upgrades/disable_excluder.yml
+++ b/playbooks/common/openshift-cluster/upgrades/disable_excluder.yml
@@ -3,15 +3,10 @@
hosts: oo_masters_to_config:oo_nodes_to_config
gather_facts: no
tasks:
- - include: pre/validate_excluder.yml
- vars:
- excluder: "{{ openshift.common.service_type }}-docker-excluder"
- when: enable_docker_excluder | default(enable_excluders) | default(True) | bool
- - include: pre/validate_excluder.yml
- vars:
- excluder: "{{ openshift.common.service_type }}-excluder"
- when: enable_openshift_excluder | default(enable_excluders) | default(True) | bool
-
+ # verify the excluders can be upgraded
+ - include_role:
+ name: openshift_excluder
+ tasks_from: verify_upgrade
# disable excluders based on their status
- include_role: