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

{
    "id": 4124,
    "status": "ok",
    "playbook": {
        "id": 21,
        "items": {
            "plays": 20,
            "tasks": 208,
            "results": 168,
            "hosts": 1,
            "files": 189,
            "records": 0
        },
        "labels": [],
        "started": "2020-01-31T15:53:31.538179Z",
        "ended": "2020-01-31T15:59:11.725650Z",
        "duration": "00:05:40.187471",
        "name": null,
        "ansible_version": "2.8.8",
        "status": "completed",
        "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-infrastructure.yml"
    },
    "play": {
        "id": 113,
        "items": {
            "tasks": 59,
            "results": 58
        },
        "started": "2020-01-31T15:55:44.386972Z",
        "ended": "2020-01-31T15:57:00.772419Z",
        "duration": "00:01:16.385447",
        "name": "Install galera server",
        "status": "completed",
        "playbook": 21
    },
    "task": {
        "id": 4904,
        "items": {
            "results": 12
        },
        "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible-galera_server/tasks/galera_post_install.yml",
        "started": "2020-01-31T15:56:42.310705Z",
        "ended": "2020-01-31T15:56:55.408601Z",
        "duration": "00:00:13.097896",
        "name": "galera_server : Add galera service check to services",
        "action": "lineinfile",
        "lineno": 193,
        "handler": false,
        "status": "completed",
        "play": 113,
        "file": 2506,
        "playbook": 21
    },
    "host": {
        "id": 22,
        "name": "aio1",
        "changed": 67,
        "failed": 0,
        "ok": 142,
        "skipped": 25,
        "unreachable": 0,
        "playbook": 21
    },
    "content": {
        "changed": false,
        "cmd": [
            "mysql",
            "--silent",
            "--skip-column-names",
            "--connect-timeout=10",
            "-e",
            "SHOW STATUS LIKE \"wsrep_incoming_addresses\";"
        ],
        "delta": "0:00:00.009128",
        "end": "2020-01-31 15:56:45.374863",
        "failed_when_result": false,
        "msg": "non-zero return code",
        "rc": 1,
        "start": "2020-01-31 15:56:45.365735",
        "stderr": "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)",
        "stderr_lines": [
            "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)"
        ],
        "stdout": "",
        "stdout_lines": []
    },
    "created": "2020-01-31T15:56:45.423740Z",
    "updated": "2020-01-31T15:56:45.423777Z",
    "started": "2020-01-31T15:56:42.310705Z",
    "ended": "2020-01-31T15:56:45.394501Z",
    "duration": "00:00:03.083796",
    "changed": false,
    "ignore_errors": false
}