2019-10-08 09:30:31 +00:00
|
|
|
{% set meta = role.meta | default({}) %}
|
|
|
|
{% if meta %}
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
{% if meta | deep_get(meta, "dependencies.value") %}
|
2020-03-08 15:39:18 +00:00
|
|
|
{% if meta.dependencies.value is mapping %}
|
2020-03-08 21:15:59 +00:00
|
|
|
{% set deps = meta.dependencies.value.dependencies %}
|
2020-03-08 15:39:18 +00:00
|
|
|
{% else %}
|
2020-03-08 21:15:59 +00:00
|
|
|
{% set deps = meta.dependencies.value %}
|
2020-03-08 15:39:18 +00:00
|
|
|
{% endif %}
|
2020-03-08 21:15:59 +00:00
|
|
|
{% for item in deps %}
|
2022-05-17 12:19:31 +00:00
|
|
|
{% if item is string or item.role %}
|
|
|
|
- {{ item if item is string else item.role }}
|
|
|
|
{% endif %}
|
2020-03-08 21:15:59 +00:00
|
|
|
{% endfor %}
|
2019-10-08 09:30:31 +00:00
|
|
|
{% else %}
|
|
|
|
None.
|
|
|
|
{% endif %}
|
|
|
|
{% if license | deep_get(meta, "license.value") %}
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
{{ meta.license.value }}
|
|
|
|
{% endif %}
|
|
|
|
{% if author | deep_get(meta, "author.value") %}
|
|
|
|
|
|
|
|
## Author
|
|
|
|
|
2023-02-09 18:27:22 +00:00
|
|
|
{{ meta.author.value | safe_join(" ") }}
|
2019-10-08 09:30:31 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|