diff --git a/tests/test-k8s-cluster.yml b/tests/test-k8s-cluster.yml new file mode 100644 index 0000000000000000000000000000000000000000..4906fddae1a18fb08368dba81755698be09fa70e --- /dev/null +++ b/tests/test-k8s-cluster.yml @@ -0,0 +1,18 @@ +--- +- hosts: localhost + connection: local + remote_user: root + tasks: + - name: Download paas-ci role + local_action: command ansible-galaxy install git+https://baltig.infn.it/infn-cloud/paas-ci.git + changed_when: false + + - include_role: + name: paas-ci + vars: + paas_ci_test: + template_url: https://baltig.infn.it/infn-cloud/tosca-templates/-/raw/master/kubernetes/k8s_cluster.yaml + inputs: | + '{ "admin_token": "hjli78hdakgb22as0", "users": [{"os_user_add_to_sudoers": true, "os_user_name": "scans", "os_user_ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmQvE3sXtg4D/KYzhCdP6cICvy5foeSkHenKTisxdGJK8L0cDmV+4k7fIah1GIXrldjQBGWHSTbIj1qRTXG2OPWFxeDoXIN1FyKxwdOgwIfzIRtVq18VZEqt9eOiNUXN8jGoEAgcU7obqXuPqKAndk4tyOnSDuVnfnZWAiesVvWK16GEq0PAxBhJoX3eq501ilsNnJZDMEnvQEgtFuIbADEanrhRV3yaEca+9vFyOQRkyxDF8Gn6P/wZ4oe35bdgXxi/hg8JVKYbDCLlT+Fdi+OC3trRhwCcBSvDFD0ZQ8oLemzUk+732TqR+I8gVjPE9fiNF+/mrj5OX55SDr8Qgf scans"}]}' + endpoints_to_scan: | + k8s_endpoint,grafana_endpoint \ No newline at end of file