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

{
    "id": 3162,
    "status": "ok",
    "playbook": {
        "id": 12,
        "items": {
            "plays": 13,
            "tasks": 206,
            "results": 150,
            "hosts": 1,
            "files": 104,
            "records": 0
        },
        "labels": [],
        "started": "2020-01-31T15:49:11.871862Z",
        "ended": "2020-01-31T15:53:58.165245Z",
        "duration": "00:04:46.293383",
        "name": null,
        "ansible_version": "2.8.8",
        "status": "completed",
        "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-hosts.yml"
    },
    "play": {
        "id": 42,
        "items": {
            "tasks": 155,
            "results": 113
        },
        "started": "2020-01-31T15:50:56.895994Z",
        "ended": "2020-01-31T15:53:56.741875Z",
        "duration": "00:02:59.845881",
        "name": "Apply security hardening configurations",
        "status": "completed",
        "playbook": 12
    },
    "task": {
        "id": 4021,
        "items": {
            "results": 1
        },
        "path": "/home/zuul/src/opendev.org/openstack/ansible-hardening/tasks/rhel7stig/sshd.yml",
        "started": "2020-01-31T15:53:50.640554Z",
        "ended": "2020-01-31T15:53:52.125455Z",
        "duration": "00:00:01.484901",
        "name": "ansible-hardening : Private host key files must have mode 0600 or less",
        "action": "file",
        "lineno": 103,
        "handler": false,
        "status": "completed",
        "play": 42,
        "file": 652,
        "playbook": 12
    },
    "host": {
        "id": 14,
        "name": "aio1",
        "changed": 43,
        "failed": 0,
        "ok": 123,
        "skipped": 27,
        "unreachable": 0,
        "playbook": 12
    },
    "content": {
        "changed": false,
        "msg": "All items completed",
        "results": [
            {
                "ansible_loop_var": "item",
                "changed": false,
                "diff": {
                    "after": {
                        "path": "/etc/ssh/ssh_host_dsa_key"
                    },
                    "before": {
                        "path": "/etc/ssh/ssh_host_dsa_key"
                    }
                },
                "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": null,
                        "mode": "u-xX,g-rwxs,o-rwxt",
                        "modification_time": null,
                        "modification_time_format": "%Y%m%d%H%M.%S",
                        "owner": null,
                        "path": "/etc/ssh/ssh_host_dsa_key",
                        "recurse": false,
                        "regexp": null,
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "file",
                        "unsafe_writes": null
                    }
                },
                "item": "/etc/ssh/ssh_host_dsa_key",
                "mode": "0600",
                "owner": "root",
                "path": "/etc/ssh/ssh_host_dsa_key",
                "size": 1413,
                "state": "file",
                "uid": 0
            },
            {
                "ansible_loop_var": "item",
                "changed": false,
                "diff": {
                    "after": {
                        "path": "/etc/ssh/ssh_host_ecdsa_key"
                    },
                    "before": {
                        "path": "/etc/ssh/ssh_host_ecdsa_key"
                    }
                },
                "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": null,
                        "mode": "u-xX,g-rwxs,o-rwxt",
                        "modification_time": null,
                        "modification_time_format": "%Y%m%d%H%M.%S",
                        "owner": null,
                        "path": "/etc/ssh/ssh_host_ecdsa_key",
                        "recurse": false,
                        "regexp": null,
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "file",
                        "unsafe_writes": null
                    }
                },
                "item": "/etc/ssh/ssh_host_ecdsa_key",
                "mode": "0600",
                "owner": "root",
                "path": "/etc/ssh/ssh_host_ecdsa_key",
                "size": 537,
                "state": "file",
                "uid": 0
            },
            {
                "ansible_loop_var": "item",
                "changed": false,
                "diff": {
                    "after": {
                        "path": "/etc/ssh/ssh_host_ed25519_key"
                    },
                    "before": {
                        "path": "/etc/ssh/ssh_host_ed25519_key"
                    }
                },
                "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": null,
                        "mode": "u-xX,g-rwxs,o-rwxt",
                        "modification_time": null,
                        "modification_time_format": "%Y%m%d%H%M.%S",
                        "owner": null,
                        "path": "/etc/ssh/ssh_host_ed25519_key",
                        "recurse": false,
                        "regexp": null,
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "file",
                        "unsafe_writes": null
                    }
                },
                "item": "/etc/ssh/ssh_host_ed25519_key",
                "mode": "0600",
                "owner": "root",
                "path": "/etc/ssh/ssh_host_ed25519_key",
                "size": 432,
                "state": "file",
                "uid": 0
            },
            {
                "ansible_loop_var": "item",
                "changed": false,
                "diff": {
                    "after": {
                        "path": "/etc/ssh/ssh_host_rsa_key"
                    },
                    "before": {
                        "path": "/etc/ssh/ssh_host_rsa_key"
                    }
                },
                "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": null,
                        "mode": "u-xX,g-rwxs,o-rwxt",
                        "modification_time": null,
                        "modification_time_format": "%Y%m%d%H%M.%S",
                        "owner": null,
                        "path": "/etc/ssh/ssh_host_rsa_key",
                        "recurse": false,
                        "regexp": null,
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "file",
                        "unsafe_writes": null
                    }
                },
                "item": "/etc/ssh/ssh_host_rsa_key",
                "mode": "0600",
                "owner": "root",
                "path": "/etc/ssh/ssh_host_rsa_key",
                "size": 1843,
                "state": "file",
                "uid": 0
            }
        ]
    },
    "created": "2020-01-31T15:53:52.293014Z",
    "updated": "2020-01-31T15:53:52.293055Z",
    "started": "2020-01-31T15:53:50.640554Z",
    "ended": "2020-01-31T15:53:51.896918Z",
    "duration": "00:00:01.256364",
    "changed": false,
    "ignore_errors": false
}