summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-04-06 10:23:41 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-04-06 10:26:09 +0200
commit96276a3865a7642fbbf86614ddeb4cefe5dbda24 (patch)
tree564daf87542a78edb7759395f41a5ce2e6d8eb9a
parentb930b55451bfc6d868e1ffc788a3674921740c94 (diff)
downloadopenshift-96276a3865a7642fbbf86614ddeb4cefe5dbda24.tar.gz
openshift-96276a3865a7642fbbf86614ddeb4cefe5dbda24.tar.bz2
openshift-96276a3865a7642fbbf86614ddeb4cefe5dbda24.tar.xz
openshift-96276a3865a7642fbbf86614ddeb4cefe5dbda24.zip
unexclude excluder if it is to be upgraded and already installed
-rw-r--r--roles/openshift_excluder/tasks/disable.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_excluder/tasks/disable.yml b/roles/openshift_excluder/tasks/disable.yml
index 325d2a4e8..97044fff6 100644
--- a/roles/openshift_excluder/tasks/disable.yml
+++ b/roles/openshift_excluder/tasks/disable.yml
@@ -4,6 +4,14 @@
# - docker_excluder_package_state
- include: init.yml
+# unexclude the current openshift/origin-excluder if it is installed so it can be updated
+- include: unexclude.yml
+ vars:
+ unexclude_docker_excluder: false
+ unexclude_openshift_excluder: "{{ openshift_excluder_on | bool }}"
+ when:
+ - not openshift.common.is_atomic | bool
+
# Install any excluder that is enabled
- include: install.yml
vars: