{% for playbook in data -%}
{% if playbook['is_role'] -%}
## Role: [{{ playbook['name'] }}]({{ playbook['name'] }})

{% if 'author' in playbook -%}
> **Author:** {{ playbook['author'] }}

{% endif -%}
{% if 'description' in playbook -%}
> **Description:** {{ playbook['description'] }}

{% endif -%}
{% else -%}
## Playbook: [{{ playbook['name'] }}.yml]({{ playbook['name'] }}.yml)
{% if 'author' in playbook -%}
> **Author:** {{ playbook['author'] }}

{% endif -%}
{% if 'description' in playbook -%}
> **Description:** {{ playbook['description'] }}

{% endif -%}
{% endif -%}
{% for task in playbook['task_info'] -%}
> **Task:** {{ task['task_name'] }}

{% if not task['task_tags'] == None and params['show_tags'] %}
> - **Tags:** {{ task['task_tags']|join(', ') }}

{% endif -%}
{% endfor -%}
{% endfor -%}


Generated by [ansible-docgen](https://www.github.com/starboarder2001/ansible-docgen)
