In the previous Tips&Tricks we explained how to parametrize Ansible roles. For all of you who thought "well, documenting variables sucks compared to documenting module parameters", we have some exciting news! Ansible Core features argument specification support for Ansible roles. In practical terms, this means that:
- Developers gained a structured way of documenting Ansible role variables/parameters.
- End-users are able to use
ansible-doc
to display the role documentation. - Ansible also validates the variable values before including the role.
Top comments (0)