summaryrefslogtreecommitdiff
path: root/test/integration/targets/ansible-test-cloud-openshift/tasks/main.yml
blob: 6acb67dc12c00fb5379a1b19e88156bed6919022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.cluster.server }}"
    validate_certs: no
  with_items:
    - "{{ clusters }}"