ansible-doctor/ansibledoctor/templates/readme/_meta.j2

25 lines
432 B
Plaintext
Raw Normal View History

2019-10-08 09:30:31 +00:00
{% set meta = role.meta | default({}) %}
{% if meta %}
## Dependencies
{% if meta | deep_get(meta, "dependencies.value") %}
{% for item in meta.dependencies.value %}
* {{ item }}
{% endfor %}
{% else %}
None.
{% endif %}
{% if license | deep_get(meta, "license.value") %}
## License
{{ meta.license.value }}
{% endif %}
{% if author | deep_get(meta, "author.value") %}
## Author
{{ meta.author.value }}
{% endif %}
{% endif %}