2. Documentation
Task 1
- 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.
Solution Task 1
|
|
Task 2
- Find the official online documentation of Ansible in your browser.
- Visit the module index (i.e. list of all modules) in the online documentation.
- Use the search field in the upper left of the web page and also use the search field in the lower right.
Solution Task 2
- visit Ansible Docs
- visit Ansible Docs - Modules by category
Note
Starting from Ansible > 2.10 modules are shipped via collections. We will have a look at collections in Chapter 8. You’ll find an overview of the most used collections on Ansible Docs - Collection Index
Task 3 (Advanced)
- By installing the
ansible-doc
package you get a lot of additional documentation. - Use your package-managers functionality to find out what files are installed with
dnf install ansible-doc
. - Now find documentation about jinja2 on the controller.
Solution Task 3
One way to find a list of provided documentation:
|
|
You can also search for files in /usr/share/doc
:
|
|
Task 4 (Captain Future)
- Have a look at the development documentation.
- Search for the release dates of future ansible versions.
Solution Task 4
All done?
Last modified December 6, 2024: Remove submodules remark from README (#219) (769b6c5)