{% if status == "ok" %} {% elif status == "failed" or status == "unreachable" %} {% elif status == "ignored" %} {% elif status == "skipped" %} {% elif status == "changed" %} {% else %} {% endif %} {{ status | upper }}