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

{
    "id": 3251,
    "status": "changed",
    "playbook": {
        "id": 18,
        "items": {
            "plays": 1,
            "tasks": 302,
            "results": 245,
            "hosts": 1,
            "files": 34,
            "records": 0
        },
        "labels": [],
        "started": "2020-01-31T15:51:31.367793Z",
        "ended": "2020-01-31T15:57:53.897923Z",
        "duration": "00:06:22.530130",
        "name": null,
        "ansible_version": "2.8.8",
        "status": "completed",
        "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible/tests/bootstrap-aio.yml"
    },
    "play": {
        "id": 45,
        "items": {
            "tasks": 302,
            "results": 245
        },
        "started": "2020-01-31T15:51:33.276659Z",
        "ended": "2020-01-31T15:57:53.095702Z",
        "duration": "00:06:19.819043",
        "name": "Bootstrap the All-In-One (AIO)",
        "status": "completed",
        "playbook": 18
    },
    "task": {
        "id": 4111,
        "items": {
            "results": 1
        },
        "path": "/home/zuul/src/opendev.org/openstack/ansible-role-systemd_service/tasks/main.yml",
        "started": "2020-01-31T15:54:09.809651Z",
        "ended": "2020-01-31T15:54:10.656379Z",
        "duration": "00:00:00.846728",
        "name": "systemd_service : Create TEMP run dir",
        "action": "file",
        "lineno": 59,
        "handler": false,
        "status": "completed",
        "play": 45,
        "file": 1263,
        "playbook": 18
    },
    "host": {
        "id": 19,
        "name": "localhost",
        "changed": 84,
        "failed": 0,
        "ok": 164,
        "skipped": 76,
        "unreachable": 0,
        "playbook": 18
    },
    "content": {
        "changed": true,
        "msg": "All items completed",
        "results": [
            {
                "ansible_loop_var": "item",
                "changed": true,
                "diff": {
                    "after": {
                        "mode": "02755",
                        "path": "/var/run/loop-ceph2",
                        "state": "directory"
                    },
                    "before": {
                        "mode": "0755",
                        "path": "/var/run/loop-ceph2",
                        "state": "absent"
                    }
                },
                "failed": false,
                "gid": 0,
                "group": "root",
                "invocation": {
                    "module_args": {
                        "_diff_peek": null,
                        "_original_basename": null,
                        "access_time": null,
                        "access_time_format": "%Y%m%d%H%M.%S",
                        "attributes": null,
                        "backup": null,
                        "content": null,
                        "delimiter": null,
                        "directory_mode": null,
                        "follow": true,
                        "force": false,
                        "group": "root",
                        "mode": "02755",
                        "modification_time": null,
                        "modification_time_format": "%Y%m%d%H%M.%S",
                        "owner": "root",
                        "path": "/var/run/loop-ceph2",
                        "recurse": false,
                        "regexp": null,
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "directory",
                        "unsafe_writes": null
                    }
                },
                "item": {
                    "config_overrides": {
                        "Service": {
                            "RemainAfterExit": true
                        },
                        "Unit": {
                            "After": "systemd-udev-settle.service",
                            "Description": false
                        }
                    },
                    "enabled": true,
                    "execstarts": [
                        "/bin/bash -c \"/sbin/losetup $(/sbin/losetup -f) /openstack/ceph2.img\""
                    ],
                    "execstops": [
                        "/bin/bash -c \"losetup -d $(losetup -l | awk '/ceph2.img/ {print $1}')\""
                    ],
                    "service_name": "loop-ceph2",
                    "service_type": "oneshot",
                    "state": "started"
                },
                "mode": "02755",
                "owner": "root",
                "path": "/var/run/loop-ceph2",
                "size": 40,
                "state": "directory",
                "uid": 0
            }
        ]
    },
    "created": "2020-01-31T15:54:10.564543Z",
    "updated": "2020-01-31T15:54:10.564576Z",
    "started": "2020-01-31T15:54:09.809651Z",
    "ended": "2020-01-31T15:54:10.211992Z",
    "duration": "00:00:00.402341",
    "changed": true,
    "ignore_errors": false
}