summaryrefslogtreecommitdiff
path: root/test/integration/targets/ansible-test-cloud-openshift
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/ansible-test-cloud-openshift')
-rw-r--r--test/integration/targets/ansible-test-cloud-openshift/aliases2
-rw-r--r--test/integration/targets/ansible-test-cloud-openshift/tasks/main.yml11
2 files changed, 10 insertions, 3 deletions
diff --git a/test/integration/targets/ansible-test-cloud-openshift/aliases b/test/integration/targets/ansible-test-cloud-openshift/aliases
index 6e32db7b..b714e82c 100644
--- a/test/integration/targets/ansible-test-cloud-openshift/aliases
+++ b/test/integration/targets/ansible-test-cloud-openshift/aliases
@@ -1,4 +1,4 @@
cloud/openshift
shippable/generic/group1
-disabled # disabled due to requirements conflict: botocore 1.20.6 has requirement urllib3<1.27,>=1.25.4, but you have urllib3 1.24.3.
+disabled # the container crashes when using a non-default network on some docker hosts (such as Ubuntu 20.04)
context/controller
diff --git a/test/integration/targets/ansible-test-cloud-openshift/tasks/main.yml b/test/integration/targets/ansible-test-cloud-openshift/tasks/main.yml
index c3b51904..6acb67dc 100644
--- a/test/integration/targets/ansible-test-cloud-openshift/tasks/main.yml
+++ b/test/integration/targets/ansible-test-cloud-openshift/tasks/main.yml
@@ -1,6 +1,13 @@
+- name: Load kubeconfig
+ include_vars: "{{ lookup('env', 'K8S_AUTH_KUBECONFIG') }}"
+
+- name: Verify endpoints exist
+ assert:
+ that: clusters
+
- name: Verify endpoints respond
uri:
- url: "{{ item }}"
+ url: "{{ item.cluster.server }}"
validate_certs: no
with_items:
- - https://openshift-origin:8443/
+ - "{{ clusters }}"