DynflowParser {{sos['version']}}
by @pafernanr
Task: {{actions[0][12]}} | Label: {{label}} | ID: {{actions[0][13]}} {% if caller_execution_plan_id %} | Caller: {{caller_execution_plan_id}} {% endif %} | Plan: {{execution_plan_uuid}}
Action / Step
Started At
Ended At
Real Time
Exec Time
Status
{% for a in actions %} {# Determine action state #} {% if a[4] is not none and a[7] is not none and a[4] == 'Actions::RemoteExecution::ProxyAction' and a[7] != '' and '"exit_status": 0,' not in a[7] %} {% set state = 'error' %} {% else %} {% set state = a[10] %} {% endif %} {# Check if action has alerts #} {% set has_alert = (a[7] and a[7]|length and a[7] != "{}") %}
{% if a[19]|length %}{% endif %} {{a[3]}}: {{a[4]}}
{% if a[15] %}{{ a[15].split(".")[0] }}{% endif %} {% if a[16] %}{{ a[16].split(".")[0] }}{% endif %} {% if a[17] %}{{ "{:0,.2f}".format(a[17]) }}{% endif %} {% if a[18] %}{{ "{:0,.2f}".format(a[18]) }}{% endif %} {{state}}
{{a[6]}}
{{a[7]}}
{{a[5]}}
{% if a[19] %}
{% for s in a[19] %}
{{a[3]}}.{{s[1]}}: {{s[10]}}
{{ s[4].split(".")[0] }} {{ s[5].split(".")[0] }} {{ "{:0,.2f}".format(s[6]) }} {{ "{:0,.2f}".format(s[7]) }} {{s[3]}}
{{s[13]}}
{{s[12]}}
{{s[14]}}
{{s[15]}}
{% endfor %}
{% endif %}
{% endfor %}