mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-18 03:00:41 +00:00
18 lines
377 B
Django/Jinja
18 lines
377 B
Django/Jinja
{% set meta = role.meta | default({}) %}
|
|
{% if meta %}
|
|
## Dependencies
|
|
|
|
{% if meta | deep_get(meta, "dependencies.value") %}
|
|
{% if meta.dependencies.value is mapping %}
|
|
{% set deps = meta.dependencies.value.dependencies %}
|
|
{% else %}
|
|
{% set deps = meta.dependencies.value %}
|
|
{% endif %}
|
|
{% for item in deps %}
|
|
- {{ item }}
|
|
{% endfor %}
|
|
{% else %}
|
|
None.
|
|
{% endif %}
|
|
{% endif %}
|