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

{
    "id": 2778,
    "status": "changed",
    "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": 3554,
        "items": {
            "results": 1
        },
        "path": "/home/zuul/src/opendev.org/openstack/ansible-hardening/tasks/rhel7stig/auditd.yml",
        "started": "2020-01-31T15:52:48.471700Z",
        "ended": "2020-01-31T15:52:50.187623Z",
        "duration": "00:00:01.715923",
        "name": "ansible-hardening : Adjust auditd/audispd configurations",
        "action": "lineinfile",
        "lineno": 156,
        "handler": false,
        "status": "completed",
        "play": 42,
        "file": 645,
        "playbook": 12
    },
    "host": {
        "id": 14,
        "name": "aio1",
        "changed": 43,
        "failed": 0,
        "ok": 123,
        "skipped": 27,
        "unreachable": 0,
        "playbook": 12
    },
    "content": {
        "changed": true,
        "msg": "All items completed",
        "results": [
            {
                "ansible_loop_var": "item",
                "backup": "",
                "changed": true,
                "diff": [
                    {
                        "after": "",
                        "after_header": "/etc/audisp/audisp-remote.conf (content)",
                        "before": "",
                        "before_header": "/etc/audisp/audisp-remote.conf (content)"
                    },
                    {
                        "after_header": "/etc/audisp/audisp-remote.conf (file attributes)",
                        "before_header": "/etc/audisp/audisp-remote.conf (file attributes)"
                    }
                ],
                "failed": false,
                "invocation": {
                    "module_args": {
                        "attributes": null,
                        "backrefs": false,
                        "backup": false,
                        "content": null,
                        "create": false,
                        "delimiter": null,
                        "dest": "/etc/audisp/audisp-remote.conf",
                        "directory_mode": null,
                        "firstmatch": false,
                        "follow": false,
                        "force": null,
                        "group": null,
                        "insertafter": null,
                        "insertbefore": null,
                        "line": "disk_full_action = syslog",
                        "mode": null,
                        "owner": null,
                        "path": "/etc/audisp/audisp-remote.conf",
                        "regexp": "^#?disk_full_action\\s*=",
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "present",
                        "unsafe_writes": null,
                        "validate": null
                    }
                },
                "item": {
                    "config": "/etc/audisp/audisp-remote.conf",
                    "parameter": "disk_full_action",
                    "value": "syslog"
                },
                "msg": "line replaced"
            },
            {
                "ansible_loop_var": "item",
                "backup": "",
                "changed": true,
                "diff": [
                    {
                        "after": "",
                        "after_header": "/etc/audisp/audisp-remote.conf (content)",
                        "before": "",
                        "before_header": "/etc/audisp/audisp-remote.conf (content)"
                    },
                    {
                        "after_header": "/etc/audisp/audisp-remote.conf (file attributes)",
                        "before_header": "/etc/audisp/audisp-remote.conf (file attributes)"
                    }
                ],
                "failed": false,
                "invocation": {
                    "module_args": {
                        "attributes": null,
                        "backrefs": false,
                        "backup": false,
                        "content": null,
                        "create": false,
                        "delimiter": null,
                        "dest": "/etc/audisp/audisp-remote.conf",
                        "directory_mode": null,
                        "firstmatch": false,
                        "follow": false,
                        "force": null,
                        "group": null,
                        "insertafter": null,
                        "insertbefore": null,
                        "line": "network_failure_action = syslog",
                        "mode": null,
                        "owner": null,
                        "path": "/etc/audisp/audisp-remote.conf",
                        "regexp": "^#?network_failure_action\\s*=",
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "present",
                        "unsafe_writes": null,
                        "validate": null
                    }
                },
                "item": {
                    "config": "/etc/audisp/audisp-remote.conf",
                    "parameter": "network_failure_action",
                    "value": "syslog"
                },
                "msg": "line replaced"
            },
            {
                "ansible_loop_var": "item",
                "backup": "",
                "changed": true,
                "diff": [
                    {
                        "after": "",
                        "after_header": "/etc/audit/auditd.conf (content)",
                        "before": "",
                        "before_header": "/etc/audit/auditd.conf (content)"
                    },
                    {
                        "after_header": "/etc/audit/auditd.conf (file attributes)",
                        "before_header": "/etc/audit/auditd.conf (file attributes)"
                    }
                ],
                "failed": false,
                "invocation": {
                    "module_args": {
                        "attributes": null,
                        "backrefs": false,
                        "backup": false,
                        "content": null,
                        "create": false,
                        "delimiter": null,
                        "dest": "/etc/audit/auditd.conf",
                        "directory_mode": null,
                        "firstmatch": false,
                        "follow": false,
                        "force": null,
                        "group": null,
                        "insertafter": null,
                        "insertbefore": null,
                        "line": "space_left = 9472",
                        "mode": null,
                        "owner": null,
                        "path": "/etc/audit/auditd.conf",
                        "regexp": "^#?space_left\\s*=",
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "present",
                        "unsafe_writes": null,
                        "validate": null
                    }
                },
                "item": {
                    "config": "/etc/audit/auditd.conf",
                    "parameter": "space_left",
                    "value": "9472"
                },
                "msg": "line replaced"
            },
            {
                "ansible_loop_var": "item",
                "backup": "",
                "changed": true,
                "diff": [
                    {
                        "after": "",
                        "after_header": "/etc/audit/auditd.conf (content)",
                        "before": "",
                        "before_header": "/etc/audit/auditd.conf (content)"
                    },
                    {
                        "after_header": "/etc/audit/auditd.conf (file attributes)",
                        "before_header": "/etc/audit/auditd.conf (file attributes)"
                    }
                ],
                "failed": false,
                "invocation": {
                    "module_args": {
                        "attributes": null,
                        "backrefs": false,
                        "backup": false,
                        "content": null,
                        "create": false,
                        "delimiter": null,
                        "dest": "/etc/audit/auditd.conf",
                        "directory_mode": null,
                        "firstmatch": false,
                        "follow": false,
                        "force": null,
                        "group": null,
                        "insertafter": null,
                        "insertbefore": null,
                        "line": "space_left_action = email",
                        "mode": null,
                        "owner": null,
                        "path": "/etc/audit/auditd.conf",
                        "regexp": "^#?space_left_action\\s*=",
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "present",
                        "unsafe_writes": null,
                        "validate": null
                    }
                },
                "item": {
                    "config": "/etc/audit/auditd.conf",
                    "parameter": "space_left_action",
                    "value": "email"
                },
                "msg": "line replaced"
            },
            {
                "ansible_loop_var": "item",
                "backup": "",
                "changed": false,
                "diff": [
                    {
                        "after": "",
                        "after_header": "/etc/audit/auditd.conf (content)",
                        "before": "",
                        "before_header": "/etc/audit/auditd.conf (content)"
                    },
                    {
                        "after_header": "/etc/audit/auditd.conf (file attributes)",
                        "before_header": "/etc/audit/auditd.conf (file attributes)"
                    }
                ],
                "failed": false,
                "invocation": {
                    "module_args": {
                        "attributes": null,
                        "backrefs": false,
                        "backup": false,
                        "content": null,
                        "create": false,
                        "delimiter": null,
                        "dest": "/etc/audit/auditd.conf",
                        "directory_mode": null,
                        "firstmatch": false,
                        "follow": false,
                        "force": null,
                        "group": null,
                        "insertafter": null,
                        "insertbefore": null,
                        "line": "action_mail_acct = root",
                        "mode": null,
                        "owner": null,
                        "path": "/etc/audit/auditd.conf",
                        "regexp": "^#?action_mail_acct\\s*=",
                        "remote_src": null,
                        "selevel": null,
                        "serole": null,
                        "setype": null,
                        "seuser": null,
                        "src": null,
                        "state": "present",
                        "unsafe_writes": null,
                        "validate": null
                    }
                },
                "item": {
                    "config": "/etc/audit/auditd.conf",
                    "parameter": "action_mail_acct",
                    "value": "root"
                },
                "msg": ""
            }
        ]
    },
    "created": "2020-01-31T15:52:50.374595Z",
    "updated": "2020-01-31T15:52:50.374653Z",
    "started": "2020-01-31T15:52:48.471700Z",
    "ended": "2020-01-31T15:52:49.980457Z",
    "duration": "00:00:01.508757",
    "changed": true,
    "ignore_errors": false
}