From: Cian Johnston Date: Wed, 3 Mar 2021 10:15:37 +0000 (+0000) Subject: Pin openshift version to avoid regression in kubernetes client X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;ds=sidebyside;h=refs%2Fheads%2F1.18;hp=3d3b3c8d8c7a26b2d329d623d8eb212111b9a3c5;p=infra%2Fstack%2Fkubernetes.git Pin openshift version to avoid regression in kubernetes client Signed-off-by: Cian Johnston Change-Id: Id3b173e8ae31ed36f48282c1628cd753dfec62eb --- diff --git a/playbooks/roles/postinstall/tasks/configure-jumphost.yml b/playbooks/roles/postinstall/tasks/configure-jumphost.yml index 3e0cfb5..6468bc6 100644 --- a/playbooks/roles/postinstall/tasks/configure-jumphost.yml +++ b/playbooks/roles/postinstall/tasks/configure-jumphost.yml @@ -22,7 +22,7 @@ - name: Install openshift pip: - name: openshift + name: "openshift=={{ openshift_version }}" - name: Ensure /root/.kube folder exists and empty file: diff --git a/playbooks/roles/postinstall/vars/main.yaml b/playbooks/roles/postinstall/vars/main.yaml index 9c1177b..01abd5b 100644 --- a/playbooks/roles/postinstall/vars/main.yaml +++ b/playbooks/roles/postinstall/vars/main.yaml @@ -18,5 +18,8 @@ # ============LICENSE_END========================================================= jumphost: "{{ 'jumphost' if provisioner_type == 'heat' else 'localhost' }}" +# NOTE (cian): pinning openshift due to regression in 0.12 +# Ref: https://github.com/ansible-collections/community.kubernetes/issues/283 +openshift_version: "0.11" # vim: set ts=2 sw=2 expandtab: