mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-22 21:00:45 +00:00
36 lines
847 B
Django/Jinja
36 lines
847 B
Django/Jinja
{% if not append | deep_get(role, "internal.append") %}
|
|
{% set meta = role.meta | default({}) %}
|
|
---
|
|
title: {{ meta.name.value | safe_join(" ") }}
|
|
type: docs
|
|
{% if summary | deep_get(meta, "summary.value") %}
|
|
summary: {{ meta.summary.value | safe_join(" ") }}
|
|
{% endif %}
|
|
---
|
|
{% endif %}
|
|
{% if description | deep_get(meta, "description.value") %}
|
|
{% set description = [meta.description.value] if meta.description.value is string else meta.description.value %}
|
|
|
|
{{ description | map("replace", "\n\n", "\n") | safe_join("\n") }}
|
|
{% endif %}
|
|
|
|
<!--more-->
|
|
|
|
{# TOC #}
|
|
{% include '_toc.j2' %}
|
|
|
|
{# Requirements #}
|
|
{% include '_requirements.j2' %}
|
|
|
|
{# Vars #}
|
|
{% include '_vars.j2' %}
|
|
|
|
{# Tag #}
|
|
{% include '_tag.j2' %}
|
|
|
|
{# Todo #}
|
|
{% include '_todo.j2' %}
|
|
|
|
{# Meta #}
|
|
{% include '_meta.j2' %}
|