mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Add complete test integration
This commit is contained in:
12
tests/testcases/010_check-apiserver.yml
Normal file
12
tests/testcases/010_check-apiserver.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- hosts: kube-master
|
||||
|
||||
tasks:
|
||||
- name: Check the API servers are responding
|
||||
local_action:
|
||||
module: uri
|
||||
url: https://{{ansible_ssh_host}}/api/v1
|
||||
user: kube
|
||||
password: changeme
|
||||
validate_certs: no
|
||||
status_code: 200
|
||||
Reference in New Issue
Block a user