mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-14 17:20:39 +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 %}
|