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": 38,
            "results": 38,
            "hosts": 2,
            "files": 5,
            "records": 6
        },
        "labels": [
            {
                "id": 1,
                "name": "integration tests"
            },
            {
                "id": 2,
                "name": "smoke"
            }
        ],
        "started": "2019-10-23T21:42:09.377591Z",
        "ended": "2019-10-23T21:42:19.892193Z",
        "duration": "00:00:10.514602",
        "name": "Smoke tests",
        "ansible_version": "2.8.6.post0",
        "status": "completed",
        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/smoke.yaml"
    },
    "play": {
        "id": 1,
        "items": {
            "tasks": 35,
            "results": 35
        },
        "started": "2019-10-23T21:42:09.628119Z",
        "ended": "2019-10-23T21:42:18.338990Z",
        "duration": "00:00:08.710871",
        "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-10-23T21:42:16.280646Z",
        "ended": "2019-10-23T21:42:16.876076Z",
        "duration": "00:00:00.595430",
        "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.004330",
        "end": "2019-10-23 21:42:16.799352",
        "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-10-23 21:42:16.795022",
        "stderr": "",
        "stderr_lines": [],
        "stdout": "",
        "stdout_lines": []
    },
    "created": "2019-10-23T21:42:16.853630Z",
    "updated": "2019-11-08T21:00:23.160118Z",
    "started": "2019-10-23T21:42:16.280646Z",
    "ended": "2019-10-23T21:42:16.832085Z",
    "duration": "00:00:00.551439",
    "changed": true,
    "ignore_errors": false
}