Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nexeck opened this issue Apr 18, 2015 · 3 comments
Open

Comments

@nexeck
Copy link

nexeck commented Apr 18, 2015

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
Copy link
Owner

eparis commented Apr 19, 2015

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
Copy link

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
Copy link
Contributor

gouyang commented Oct 20, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants