Hi,
I am testing the k8s module on a Kubernetes cluster. I created a simple test task like this:
- name: Test
k8s:
kind: Namespace
name: test-ns
state: present
api_version:v1
kubeconfig: < some path to the kube config file>
But when I ran the playbook, I got errors like "
ImportError: no module kubernetes".
I have locally installed Python kubernetes module on the Ansible host. Do I need to install it on the target hosts?
Thanks.
Davdi