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

15 lines
356 B
Plaintext
Raw Normal View History

2019-11-26 16:40:55 +01: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 %}
2020-03-08 16:55:08 +01:00
{{ meta.dependencies.value | to_nice_yaml(indent=0) }}
{% endif %}
2019-11-26 16:40:55 +01:00
{% else %}
None.
{% endif %}
{% endif %}