ansible-doctor/ansibledoctor/templates/readme/README.md.j2

28 lines
697 B
Plaintext
Raw Normal View History

{% if not append | deep_get(role, "internal.append") %}
2019-10-07 08:52:00 +02:00
{% set meta = role.meta | default({}) %}
# {{ meta.name.value | safe_join(" ") }}
{% endif %}
2019-10-08 11:30:31 +02:00
{% if description | deep_get(meta, "description.value") %}
{% set description = [meta.description.value] if meta.description.value is string else meta.description.value %}
2019-10-07 08:52:00 +02:00
{{ description | map("replace", "\n\n", "\n") | safe_join("\n") }}
2019-10-07 08:52:00 +02:00
{% endif %}
2019-10-08 13:43:41 +02:00
{# TOC #}
{% include '_toc.j2' +%}
2019-10-08 13:43:41 +02:00
{# Requirements #}
{% include '_requirements.j2' %}
2019-10-07 08:52:00 +02:00
{# Vars #}
{% include '_vars.j2' %}
{# Tag #}
{% include '_tag.j2' %}
{# Todo #}
{% include '_todo.j2' %}
2019-10-08 11:30:31 +02:00
{# Meta #}
{% include '_meta.j2' %}