Open nexeck opened 9 years ago
do you have ~/kubernetes-ansible/library/kube-caps.py ??
Did you do anything in /etc/ansible/ansible.cfg to cause it to not search in the library subdirectory (which I believe is the default....)
I was having this same issue. kube-caps.py was present in the library directory. Even explicitly specifying the library path in the config was not helping. I had to rename kube-caps.py as kube-caps and make it executable for it to work. Not sure if this is the recommended approach or there is some other issue which is manifesting in this error
@bpradipt Seems this repository is not maintained now, you can use https://github.com/kubernetes/contrib/tree/master/ansible instead.
Using Current Version from Git
root@docker:~/kubernetes-ansible# ansible-playbook -i inventory setup.yml ERROR: kube-caps is not a legal parameter in an Ansible task or handler