eparis / kubernetes-ansible

Ansible playbooks to build a kubernetes cluster from scratch
337 stars 135 forks source link

ERROR: kube-caps is not a legal parameter in an Ansible task or handler #19

Open nexeck opened 9 years ago

nexeck commented 9 years ago

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

eparis commented 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....)

bpradipt commented 9 years ago

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

gouyang commented 9 years ago

@bpradipt Seems this repository is not maintained now, you can use https://github.com/kubernetes/contrib/tree/master/ansible instead.