Pin openshift version to avoid regression in kubernetes client 47/7847/1
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:03:46 +0000 (16:03 +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 3e0cfb5..6468bc6 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 9c1177b..01abd5b 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: