diff options
| author | Jan Chaloupka <jchaloup@redhat.com> | 2017-03-28 15:50:53 +0200 | 
|---|---|---|
| committer | Jan Chaloupka <jchaloup@redhat.com> | 2017-03-28 15:50:55 +0200 | 
| commit | 7fcc44c894888fd9ed4a5997fd7f82bfc8daf19e (patch) | |
| tree | 18c8224855024a040f6db69d6804ec98bf401fab /playbooks | |
| parent | 0d38f04595fc2098cf8304faf20e15e62f43955c (diff) | |
| download | openshift-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 'playbooks')
4 files changed, 0 insertions, 31 deletions
| diff --git a/playbooks/common/openshift-cluster/config.yml b/playbooks/common/openshift-cluster/config.yml index ff4c4b0d7..1b967b7f1 100644 --- a/playbooks/common/openshift-cluster/config.yml +++ b/playbooks/common/openshift-cluster/config.yml @@ -27,9 +27,6 @@      when: openshift_docker_selinux_enabled is not defined  - include: disable_excluder.yml -  vars: -    # the excluders needs to be disabled no matter what status says -    with_status_check: false    tags:    - always diff --git a/playbooks/common/openshift-cluster/initialize_openshift_version.yml b/playbooks/common/openshift-cluster/initialize_openshift_version.yml index 1f74e929f..07b38920f 100644 --- a/playbooks/common/openshift-cluster/initialize_openshift_version.yml +++ b/playbooks/common/openshift-cluster/initialize_openshift_version.yml @@ -18,18 +18,6 @@        msg: Incompatible versions of yum and subscription-manager found. You may need to update yum and yum-utils.      when: "not openshift.common.is_atomic | bool and 'Plugin \"search-disabled-repos\" requires API 2.7. Supported API is 2.6.' in yum_ver_test.stdout" -# TODO(jchaloup): find a different way how to make repoquery --qf '%version` atomic-openshift work without disabling the excluders -- include: disable_excluder.yml -  vars: -    # the excluders needs to be disabled no matter what status says -    with_status_check: false -    # Only openshift excluder needs to be temporarily disabled -    # So ignore the docker one -    enable_docker_excluder: false -  tags: -  - always -  when: openshift_upgrade_target is not defined -  - name: Determine openshift_version to configure on first master    hosts: oo_first_master    roles: @@ -44,13 +32,3 @@      openshift_version: "{{ hostvars[groups.oo_first_master.0].openshift_version }}"    roles:    - openshift_version - -  # Re-enable excluders if they are meant to be enabled (and only during installation, upgrade disables the excluders before this play) -- include: reset_excluder.yml -  vars: -    # Only openshift excluder needs to be re-enabled -    # So ignore the docker one -    enable_docker_excluder: false -  tags: -  - always -  when: openshift_upgrade_target is not defined diff --git a/playbooks/common/openshift-master/scaleup.yml b/playbooks/common/openshift-master/scaleup.yml index c59747081..92f16dc47 100644 --- a/playbooks/common/openshift-master/scaleup.yml +++ b/playbooks/common/openshift-master/scaleup.yml @@ -61,9 +61,6 @@    - openshift_docker  - include: ../openshift-cluster/disable_excluder.yml -  vars: -    # the excluders needs to be disabled no matter what status says -    with_status_check: false    tags:    - always diff --git a/playbooks/common/openshift-node/scaleup.yml b/playbooks/common/openshift-node/scaleup.yml index d81bd152e..c31aca62b 100644 --- a/playbooks/common/openshift-node/scaleup.yml +++ b/playbooks/common/openshift-node/scaleup.yml @@ -28,9 +28,6 @@    - openshift_docker  - include: ../openshift-cluster/disable_excluder.yml -  vars: -    # the excluders needs to be disabled no matter what status says -    with_status_check: false    tags:    - always | 
