You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
350 B

  1. ---
  2. - hosts: kube-master
  3. tasks:
  4. - name: Check the API servers are responding
  5. uri:
  6. url: "https://{{ access_ip | default(ansible_default_ipv4.address) }}:{{ kube_apiserver_port }}/api/v1"
  7. user: kube
  8. password: "{{ lookup('password', '../../credentials/kube_user length=15') }}"
  9. validate_certs: no
  10. status_code: 200