Pin openshift version to avoid regression in kubernetes client 48/7848/1 1.18
authorCian Johnston <cian.johnston@est.tech>
Wed, 3 Mar 2021 10:15:37 +0000 (10:15 +0000)
committerCian Johnston <cian.johnston@est.tech>
Mon, 8 Mar 2021 16:06:08 +0000 (16:06 +0000)
Signed-off-by: Cian Johnston <cian.johnston@est.tech>
Change-Id: Id3b173e8ae31ed36f48282c1628cd753dfec62eb

playbooks/roles/postinstall/tasks/configure-jumphost.yml
playbooks/roles/postinstall/vars/main.yaml

index 3e0cfb55cf8917fb266f56d1f1e0dd6a40565cb2..6468bc6a8fc7a52edfb26c39d9062eac6fbea344 100644 (file)
@@ -22,7 +22,7 @@
 
 - name: Install openshift
   pip:
-    name: openshift
+    name: "openshift=={{ openshift_version }}"
 
 - name: Ensure /root/.kube folder exists and empty
   file:
index 9c1177b9589edb2c73f8fb462570ec43403d1b04..01abd5b49409996ce33209006dc584d3ad7b29da 100644 (file)
@@ -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: