GET /api/v1/results/28
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 28,
    "status": "failed",
    "playbook": {
        "id": 1,
        "items": {
            "plays": 3,
            "tasks": 39,
            "results": 39,
            "hosts": 2,
            "files": 5,
            "records": 6
        },
        "labels": [
            {
                "id": 1,
                "name": "integration tests"
            },
            {
                "id": 2,
                "name": "smoke"
            }
        ],
        "started": "2019-12-13T15:28:24.327382Z",
        "ended": "2019-12-13T15:28:36.541772Z",
        "duration": "00:00:12.214390",
        "name": "Smoke tests",
        "ansible_version": "2.9.2.post0",
        "status": "completed",
        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/smoke.yaml"
    },
    "play": {
        "id": 1,
        "items": {
            "tasks": 35,
            "results": 35
        },
        "started": "2019-12-13T15:28:24.568753Z",
        "ended": "2019-12-13T15:28:34.557830Z",
        "duration": "00:00:09.989077",
        "name": "ARA Tasks test play",
        "status": "completed",
        "playbook": 1
    },
    "task": {
        "id": 28,
        "items": {
            "results": 1
        },
        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/roles/smoke-tests/tasks/test-ops.yaml",
        "started": "2019-12-13T15:28:32.200629Z",
        "ended": "2019-12-13T15:28:32.953562Z",
        "duration": "00:00:00.752933",
        "name": "smoke-tests : Return false",
        "action": "command",
        "lineno": 25,
        "handler": false,
        "status": "completed",
        "play": 1,
        "file": 5,
        "playbook": 1
    },
    "host": {
        "id": 1,
        "name": "localhost",
        "changed": 9,
        "failed": 0,
        "ok": 34,
        "skipped": 1,
        "unreachable": 0,
        "playbook": 1
    },
    "content": {
        "changed": true,
        "cmd": [
            "/bin/false"
        ],
        "delta": "0:00:00.006217",
        "end": "2019-12-13 15:28:32.877231",
        "invocation": {
            "module_args": {
                "_raw_params": "/bin/false",
                "_uses_shell": false,
                "argv": null,
                "chdir": null,
                "creates": null,
                "executable": null,
                "removes": null,
                "stdin": null,
                "stdin_add_newline": true,
                "strip_empty_ends": true,
                "warn": true
            }
        },
        "msg": "non-zero return code",
        "rc": 1,
        "start": "2019-12-13 15:28:32.871014",
        "stderr": "",
        "stderr_lines": [],
        "stdout": "",
        "stdout_lines": []
    },
    "created": "2019-12-13T15:28:32.931863Z",
    "updated": "2019-12-13T15:28:32.931922Z",
    "started": "2019-12-13T15:28:32.200629Z",
    "ended": "2019-12-13T15:28:32.913538Z",
    "duration": "00:00:00.712909",
    "changed": true,
    "ignore_errors": false
}