-
Print out a list of all ansible modules in your terminal
Note
|
Don’t be rattled about the massive amount of modules you’ll see in your terminal. |
-
Print out information about the ansible module
file
in your terminal
-
Find the official online documentation of ansible in your browser
-
Visit the module index (e.g. list of all modules) in the online documentation
-
Use the search field in the upper left of the webpage and also use the search field in the lower right
-
Find documentation provided by the
ansible-doc
yum package, but not provided by the command itself -
Find documentation about jinja2 on the controller
Solution 1
$ ansible-doc -l $ ansible-doc file $ ansible-doc -s file
Solution 2
Solution 3
One way to find a list of provided documentation is to search for files installed with the ansible-doc package:
$ sudo yum install -y yum-utils # (if needed, this package provides the repoquery command) $ repoquery ansible-doc -l
You can also search for files in /usr/share/doc
:
$ ll -R /usr/share/doc/ | grep jinja2