summaryrefslogtreecommitdiffstats
path: root/roles/openshift_excluder/tasks
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-03-28 15:50:53 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-03-28 15:50:55 +0200
commit7fcc44c894888fd9ed4a5997fd7f82bfc8daf19e (patch)
tree18c8224855024a040f6db69d6804ec98bf401fab /roles/openshift_excluder/tasks
parent0d38f04595fc2098cf8304faf20e15e62f43955c (diff)
downloadopenshift-7fcc44c894888fd9ed4a5997fd7f82bfc8daf19e.tar.gz
openshift-7fcc44c894888fd9ed4a5997fd7f82bfc8daf19e.tar.bz2
openshift-7fcc44c894888fd9ed4a5997fd7f82bfc8daf19e.tar.xz
openshift-7fcc44c894888fd9ed4a5997fd7f82bfc8daf19e.zip
Make the OCP available version detection excluder free
When detecting available OCP version via repoquery, use yum.conf file with exclude= set to an empty array. So the detection is independent of the OCP excluder.
Diffstat (limited to 'roles/openshift_excluder/tasks')
-rw-r--r--roles/openshift_excluder/tasks/disable.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/openshift_excluder/tasks/disable.yml b/roles/openshift_excluder/tasks/disable.yml
index e23496b3b..325d2a4e8 100644
--- a/roles/openshift_excluder/tasks/disable.yml
+++ b/roles/openshift_excluder/tasks/disable.yml
@@ -1,6 +1,5 @@
---
# input variables
-# - with_status_check
# - excluder_package_state
# - docker_excluder_package_state
- include: init.yml
@@ -35,6 +34,6 @@
unexclude_docker_excluder: false
# disable openshift excluder is never overrided to be enabled
# disable it if the docker excluder is enabled
- unexclude_openshift_excluder: true
+ unexclude_openshift_excluder: "{{ openshift_excluder_on | bool }}"
when:
- not openshift.common.is_atomic | bool