mirror of https://github.com/ansible/ansible.git
Update ansible-test openshift plugin tests (#80064)
Update ansible-test openshift plugin tests to use config to get server endpoint. Also update the comment explaining why the tests are disabled.pull/80066/head
parent
1108c0f331
commit
5f6ebebce9
@ -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
|
||||
|
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue