{% if returncode == 0 %} The command has succeeded {% else %} The command has failed {% endif %}