docs: Add note about ansible-doc (#70162)
ansible-doc can only parse Python modules, added a note about this is developer guide; Fixes: #69109
This commit is contained in:
parent
0ef75f65d9
commit
da868d9d60
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,10 @@ To confirm that ``my_custom_module`` is available:
|
|||
|
||||
* type ``ansible-doc -t module my_custom_module``. You should see the documentation for that module.
|
||||
|
||||
.. note::
|
||||
|
||||
Currently, ``ansible-doc`` command can only parse Python modules for the module documentation. If you have module written in a different programming language other than Python, please write a documentation in Python file adjacent to module file.
|
||||
|
||||
To use a local module only in certain playbooks:
|
||||
|
||||
* store it in a sub-directory called ``library`` in the directory that contains the playbook(s)
|
||||
|
|
Loading…
Reference in a new issue