{% macro render_status(status) %}
{% if status == 'success' %}
{% elif status == 'failed' %}
{% elif status == 'incomplete' %}
{% else %}
{% endif %}
{% endmacro %}
{% macro render_playbook_summary(playbook) %}
- Ansible version
- {{ playbook.ansible_version }}
- Path
- {{ playbook.path }}
{% endmacro %}
{% macro result_page_length(length) %}
{% if length == 0 %}
"paging": false,
{% else %}
"pageLength": {{ length }}
{% endif %}
{% endmacro %}