Hi Hugo,

I just updated to 1.8.2 today. It's my first time to know that there is a 
command like ansible-doc. My machine is Mac OS X Yosemite 10.10.1. However, 
the command 

ansible-doc --list

works on my machine. Here is additional info:

Pip version 1.4.1

Ansible 1.8.2

I suggest that you remove Ansible through pip and install it again.

Hope his helps!


On Wednesday, December 17, 2014 9:30:05 AM UTC+8, Hugo Posca wrote:
>
> Hello there. 
>
> I could not believe I missed this wonderful command, ansible-doc, for so 
> long! 
> Excited by this new discovery I used it well for reading know modules 
> like yum, apt, user and so on. 
>
> Then, doing a 'ansible-doc --help' I saw a '--list' option, to list 
> available modules!! Wonderful! 
> Then... crash! 
>
> --- 
> I installed ansible through pip, and: 
>
> $ ansible --version 
> ansible 1.8.2 
>   configured module search path = None 
>
> $ ansible-doc --version 
> ansible-doc 1.8.2 
>   configured module search path = None 
>
> --- 
> As I said, commands like this, works: 
>
> $ ansible-doc user 
>
> --- 
> But '--list' don't: 
>
> $ ansible-doc --list 
> Traceback (most recent call last): 
>   File "/usr/local/bin/ansible-doc", line 324, in <module> 
>     main() 
>   File "/usr/local/bin/ansible-doc", line 264, in main 
>     find_modules(path, module_list) 
>   File "/usr/local/bin/ansible-doc", line 213, in find_modules 
>     find_modules(module, module_list) 
>   File "/usr/local/bin/ansible-doc", line 209, in find_modules 
>     for module in os.listdir(path): 
> OSError: [Errno 5] Input/output error: 'windows' 
>
> --- 
>
> Any ideas? Should I create an issue in Github? 
>
> Thanks very much for this wonderful tool! 
>
> Kind regards, 
> Hugo 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8c4a93a8-4f49-4022-8992-418324bdc05e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to