mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-24 22:00:40 +00:00
20 lines
583 B
Django/Jinja
20 lines
583 B
Django/Jinja
{% set todo = role.todo | default({}) %}
|
|
{% if todo %}
|
|
## Open Tasks
|
|
|
|
{% for key, item in todo | dictsort %}
|
|
{% for line in item %}
|
|
{% if line.value is defined and line.value | safe_join(" ") | striptags and key == "default" %}
|
|
- {{ line.value | safe_join(" ") | striptags }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% for key, item in todo | dictsort %}
|
|
{% for line in item %}
|
|
{% if line.value is defined and line.value | safe_join(" ") | striptags and key != "default" %}
|
|
- ({{ key }}): {{ line.value | safe_join(" ") | striptags }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% endif %}
|