Ansible Autocompletion

Hello,

I am new to Ansible and I am trying to walk through the code to learn and implement some cool stuff. First thing I noticed after installing ansible is the lack of autocomplete feature for the bash. It can get really annoying to work without shell completion.

I would like to add it to ansible source. any thoughts?

+M

someone already did this:
https://github.com/dysosmus/ansible-completion

I see. But python has an optcomplete feature that we could have used. This ansible-completion project will require modification in case a new option is added in core project. Adding it in original project will reduce such dependency, at least, that is what I think.

Any comments?

it is something we could put in the hacking/ dir

Yes. That is what I think. Can I start exploring and implement that?