From 96276a3865a7642fbbf86614ddeb4cefe5dbda24 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Thu, 6 Apr 2017 10:23:41 +0200 Subject: unexclude excluder if it is to be upgraded and already installed --- roles/openshift_excluder/tasks/disable.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'roles/openshift_excluder/tasks') 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: -- cgit v1.2.3