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

{
    "id": 33,
    "status": "ok",
    "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": 33,
        "items": {
            "results": 1
        },
        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/roles/smoke-tests/tasks/test-ops.yaml",
        "started": "2019-12-13T15:28:33.699448Z",
        "ended": "2019-12-13T15:28:33.883253Z",
        "duration": "00:00:00.183805",
        "name": "smoke-tests : Test with_dict",
        "action": "debug",
        "lineno": 49,
        "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": false,
        "msg": "All items completed",
        "results": [
            {
                "ansible_loop_var": "item",
                "changed": false,
                "failed": false,
                "item": {
                    "key": "one",
                    "value": {
                        "name": "key-one",
                        "value": "value-one"
                    }
                },
                "msg": "key-one: value-one"
            },
            {
                "ansible_loop_var": "item",
                "changed": false,
                "failed": false,
                "item": {
                    "key": "two",
                    "value": {
                        "name": "key-two",
                        "value": "value-two"
                    }
                },
                "msg": "key-two: value-two"
            }
        ]
    },
    "created": "2019-12-13T15:28:33.863149Z",
    "updated": "2019-12-13T15:28:33.863206Z",
    "started": "2019-12-13T15:28:33.699448Z",
    "ended": "2019-12-13T15:28:33.845337Z",
    "duration": "00:00:00.145889",
    "changed": false,
    "ignore_errors": false
}