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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACJBGXC277PzOKzQx69_Rt3V%2BFmp-Jt%3DZ1q2P-Ja%2BB7q-iDq1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to