mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-07-07 01:20:54 +02:00
13 lines
365 B
Plaintext
13 lines
365 B
Plaintext
|
{% set tag = role.tag | default({}) %}
|
||
|
{% if tag %}
|
||
|
## Discovered Tags
|
||
|
{% for key, item in tag | dictsort %}
|
||
|
{% set is_desc = item.description is defined and item.description | save_join(" ") | striptags %}
|
||
|
|
||
|
**_{{ key }}_**{{ "\\" if is_desc else "" }}
|
||
|
{% if is_desc %}
|
||
|
 {{ item.description | save_join(" ") | striptags }}
|
||
|
{% endif %}
|
||
|
{% endfor %}
|
||
|
{% endif %}
|