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

25 lines
633 B
Plaintext
Raw Normal View History

{% if not append | deep_get(role, "internal.append") %}
2019-10-07 06:52:00 +00:00
{% set meta = role.meta | default({}) %}
# {{ meta.name.value | safe_join(" ") }}
{% endif %}
2019-10-08 09:30:31 +00: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 06:52:00 +00:00
{{ description | map("replace", "\n\n", "\n") | safe_join("\n") }}
2019-10-07 06:52:00 +00:00
{% endif %}
2019-10-08 11:43:41 +00:00
{# TOC #}
{% include '_toc.j2' %}
2019-10-08 11:43:41 +00:00
2019-10-07 06:52:00 +00:00
{# Vars #}
{% include '_vars.j2' %}
{# Tag #}
{% include '_tag.j2' %}
{# Todo #}
{% include '_todo.j2' %}
2019-10-08 09:30:31 +00:00
{# Meta #}
{% include '_meta.j2' %}