Executed by: {{ execution.user_name }} Start time: {{ execution.time_created_str }}
{% if execution.result is not none %}
Finish time: {{ execution.result.time_fin_str }} Duration: {{ execution.result.time_duration_str }}
{% if execution.result.error is not none %}
Short error message: '{{ execution.result.error.short }}' Long error message: '{{ execution.result.error.med }}'
{% endif %}
{% if error_msgs|get_value:'html'|exists %}
Execution errors:
{% for msg in error_msgs|get_value:'html' %}
{{ msg|safe }}
{% endfor %}
{% endif %}
{% endif %}
Job History: Link
{% for log_attr in execution.log_file_fields %}
{% set_var execution|get_value:log_attr as log_file %}
{% set_var log_attr|concat:'_url' as log_url %}
{% if log_file|file_exists %}
{{ log_attr|whitespace_char:'_'|capitalize }}: Download
{% endif %}
{% endfor %}
{% if stats|exists %}
Statistics:
{% for host, host_stats in stats.items %}
Host: {{ host }} Stats:
{% for k, v in host_stats.items %}
{% if k == 'unreachable' or v != 0 %}
{% if not forloop.first %}|
{% endif %}
{% if k == 'unreachable' and v == 0 %}
{{ k }}: {{ v }}
{% else %}
{{ k }}: {{ v }}
{% endif %}
{% endif %}
{% endfor %}