Issue #10: Attempt setting up a KinD cluster in CI workflow.g

This commit is contained in:
Jeff Geerling
2020-02-12 12:07:19 -06:00
parent cec46a000e
commit 1200460f26
6 changed files with 106 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
---
- name: Converge
hosts: localhost
connection: local
gather_facts: false
collections:
- community.kubernetes
tasks:
- name: Testing.
k8s_info:
namespace: kube-system
kind: Pod
register: pod_list
- name: Testing listing.
debug:
msg: "{{ pod_list.resources | count }}"
- name: Include Kubernetes integration testing role.
include_role:
name: kubernetes