mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-04 20:30:43 +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 | save_join(" ") | striptags and key == "default" %}
|
|
- {{ line.value | save_join(" ") | striptags }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% for key, item in todo | dictsort %}
|
|
{% for line in item %}
|
|
{% if line.value is defined and line.value | save_join(" ") | striptags and key != "default" %}
|
|
- ({{ key }}): {{ line.value | save_join(" ") | striptags }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% endif %}
|