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

{
    "id": 1393,
    "status": "changed",
    "playbook": {
        "id": 4,
        "items": {
            "plays": 1,
            "tasks": 261,
            "results": 214,
            "hosts": 1,
            "files": 34,
            "records": 0
        },
        "labels": [],
        "started": "2020-01-31T15:46:04.975403Z",
        "ended": "2020-01-31T15:48:19.595428Z",
        "duration": "00:02:14.620025",
        "name": null,
        "ansible_version": "2.8.8",
        "status": "completed",
        "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible/tests/bootstrap-aio.yml"
    },
    "play": {
        "id": 4,
        "items": {
            "tasks": 261,
            "results": 214
        },
        "started": "2020-01-31T15:46:05.525033Z",
        "ended": "2020-01-31T15:48:19.561167Z",
        "duration": "00:02:14.036134",
        "name": "Bootstrap the All-In-One (AIO)",
        "status": "completed",
        "playbook": 4
    },
    "task": {
        "id": 1725,
        "items": {
            "results": 1
        },
        "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml",
        "started": "2020-01-31T15:48:16.899564Z",
        "ended": "2020-01-31T15:48:17.535079Z",
        "duration": "00:00:00.635515",
        "name": "bootstrap-host : Implement hard-coded hosts entries for consistently failing name",
        "action": "lineinfile",
        "lineno": 125,
        "handler": false,
        "status": "completed",
        "play": 4,
        "file": 121,
        "playbook": 4
    },
    "host": {
        "id": 4,
        "name": "localhost",
        "changed": 72,
        "failed": 0,
        "ok": 152,
        "skipped": 56,
        "unreachable": 0,
        "playbook": 4
    },
    "content": {
        "changed": true,
        "msg": "All items completed",
        "results": [
            {
                "ansible_loop_var": "item",
                "backup": "",
                "changed": true,
                "diff": [
                    {
                        "after": "",
                        "after_header": "/etc/hosts (content)",
                        "before": "",
                        "before_header": "/etc/hosts (content)"
                    },
                    {
                        "after_header": "/etc/hosts (file attributes)",
                        "before_header": "/etc/hosts (file attributes)"
                    }
                ],
                "failed": false,
                "invocation": {
                    "module_args": {
                        "attributes": null,
                        "backrefs": false,
                        "backup": false,
                        "content": null,
                        "create": false,
                        "delimiter": null,
                        "directory_mode": null,
                        "firstmatch": false,
                        "follow": false,
                        "force": null,
                        "group": null,
                        "insertafter": null,
                        "insertbefore": null,
                        "line": "91.189.91.21 images.linuxcontainers.org us.images.linuxcontainers.org",
                        "mode": null,
                        "owner": null,
                        "path": "/etc/hosts",
                        "regexp": null,
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "present",
                        "unsafe_writes": null,
                        "validate": null
                    }
                },
                "item": "91.189.91.21 images.linuxcontainers.org us.images.linuxcontainers.org",
                "msg": "line added"
            },
            {
                "ansible_loop_var": "item",
                "backup": "",
                "changed": true,
                "diff": [
                    {
                        "after": "",
                        "after_header": "/etc/hosts (content)",
                        "before": "",
                        "before_header": "/etc/hosts (content)"
                    },
                    {
                        "after_header": "/etc/hosts (file attributes)",
                        "before_header": "/etc/hosts (file attributes)"
                    }
                ],
                "failed": false,
                "invocation": {
                    "module_args": {
                        "attributes": null,
                        "backrefs": false,
                        "backup": false,
                        "content": null,
                        "create": false,
                        "delimiter": null,
                        "directory_mode": null,
                        "firstmatch": false,
                        "follow": false,
                        "force": null,
                        "group": null,
                        "insertafter": null,
                        "insertbefore": null,
                        "line": "91.189.88.37 images.linuxcontainers.org uk.images.linuxcontainers.org",
                        "mode": null,
                        "owner": null,
                        "path": "/etc/hosts",
                        "regexp": null,
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "present",
                        "unsafe_writes": null,
                        "validate": null
                    }
                },
                "item": "91.189.88.37 images.linuxcontainers.org uk.images.linuxcontainers.org",
                "msg": "line added"
            }
        ]
    },
    "created": "2020-01-31T15:48:17.460901Z",
    "updated": "2020-01-31T15:48:17.460940Z",
    "started": "2020-01-31T15:48:16.899564Z",
    "ended": "2020-01-31T15:48:17.449591Z",
    "duration": "00:00:00.550027",
    "changed": true,
    "ignore_errors": false
}