ansible-doctor/ansibledoctor/templates/hugo-book/_meta.j2

17 lines
367 B
Plaintext
Raw Normal View History

2019-11-26 15:40:55 +00:00
{% set meta = role.meta | default({}) %}
{% if meta %}
## Dependencies
{% if meta | deep_get(meta, "dependencies.value") %}
{% if meta.dependencies.value is mapping %}
{{ meta.dependencies.value.dependencies | to_nice_yaml(indent=0) }}
{% else %}
{% for line in meta.dependencies.value %}
{{ line }}
2019-11-26 15:40:55 +00:00
{% endfor %}
{% endif %}
2019-11-26 15:40:55 +00:00
{% else %}
None.
{% endif %}
{% endif %}