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

{
    "id": 2112,
    "status": "ok",
    "playbook": {
        "id": 14,
        "items": {
            "plays": 13,
            "tasks": 200,
            "results": 142,
            "hosts": 1,
            "files": 102,
            "records": 0
        },
        "labels": [],
        "started": "2020-01-31T15:49:32.942016Z",
        "ended": "2020-01-31T15:53:14.698288Z",
        "duration": "00:03:41.756272",
        "name": null,
        "ansible_version": "2.8.8",
        "status": "completed",
        "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-hosts.yml"
    },
    "play": {
        "id": 40,
        "items": {
            "tasks": 158,
            "results": 108
        },
        "started": "2020-01-31T15:50:42.602030Z",
        "ended": "2020-01-31T15:53:12.802958Z",
        "duration": "00:02:30.200928",
        "name": "Apply security hardening configurations",
        "status": "completed",
        "playbook": 14
    },
    "task": {
        "id": 2604,
        "items": {
            "results": 1
        },
        "path": "/home/zuul/src/opendev.org/openstack/ansible-hardening/tasks/rhel7stig/main.yml",
        "started": "2020-01-31T15:50:48.497384Z",
        "ended": "2020-01-31T15:50:49.703647Z",
        "duration": "00:00:01.206263",
        "name": "ansible-hardening : Get user data for all users on the system",
        "action": "get_users",
        "lineno": 38,
        "handler": false,
        "status": "completed",
        "play": 40,
        "file": 777,
        "playbook": 14
    },
    "host": {
        "id": 15,
        "name": "aio1",
        "changed": 38,
        "failed": 0,
        "ok": 112,
        "skipped": 30,
        "unreachable": 0,
        "playbook": 14
    },
    "content": {
        "changed": false,
        "users": [
            {
                "dir": "/root",
                "gecos": "root",
                "gid": 0,
                "group": {
                    "gid": 0,
                    "name": "root",
                    "passwd": "x"
                },
                "name": "root",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/bin/bash",
                "uid": 0
            },
            {
                "dir": "/usr/sbin",
                "gecos": "daemon",
                "gid": 1,
                "group": {
                    "gid": 1,
                    "name": "daemon",
                    "passwd": "x"
                },
                "name": "daemon",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 1
            },
            {
                "dir": "/bin",
                "gecos": "bin",
                "gid": 2,
                "group": {
                    "gid": 2,
                    "name": "bin",
                    "passwd": "x"
                },
                "name": "bin",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 2
            },
            {
                "dir": "/dev",
                "gecos": "sys",
                "gid": 3,
                "group": {
                    "gid": 3,
                    "name": "sys",
                    "passwd": "x"
                },
                "name": "sys",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 3
            },
            {
                "dir": "/bin",
                "gecos": "sync",
                "gid": 65534,
                "group": {
                    "gid": 65534,
                    "name": "nogroup",
                    "passwd": "x"
                },
                "name": "sync",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/bin/sync",
                "uid": 4
            },
            {
                "dir": "/usr/games",
                "gecos": "games",
                "gid": 60,
                "group": {
                    "gid": 60,
                    "name": "games",
                    "passwd": "x"
                },
                "name": "games",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 5
            },
            {
                "dir": "/var/cache/man",
                "gecos": "man",
                "gid": 12,
                "group": {
                    "gid": 12,
                    "name": "man",
                    "passwd": "x"
                },
                "name": "man",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 6
            },
            {
                "dir": "/var/spool/lpd",
                "gecos": "lp",
                "gid": 7,
                "group": {
                    "gid": 7,
                    "name": "lp",
                    "passwd": "x"
                },
                "name": "lp",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 7
            },
            {
                "dir": "/var/mail",
                "gecos": "mail",
                "gid": 8,
                "group": {
                    "gid": 8,
                    "name": "mail",
                    "passwd": "x"
                },
                "name": "mail",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 8
            },
            {
                "dir": "/var/spool/news",
                "gecos": "news",
                "gid": 9,
                "group": {
                    "gid": 9,
                    "name": "news",
                    "passwd": "x"
                },
                "name": "news",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 9
            },
            {
                "dir": "/var/spool/uucp",
                "gecos": "uucp",
                "gid": 10,
                "group": {
                    "gid": 10,
                    "name": "uucp",
                    "passwd": "x"
                },
                "name": "uucp",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 10
            },
            {
                "dir": "/bin",
                "gecos": "proxy",
                "gid": 13,
                "group": {
                    "gid": 13,
                    "name": "proxy",
                    "passwd": "x"
                },
                "name": "proxy",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 13
            },
            {
                "dir": "/var/www",
                "gecos": "www-data",
                "gid": 33,
                "group": {
                    "gid": 33,
                    "name": "www-data",
                    "passwd": "x"
                },
                "name": "www-data",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 33
            },
            {
                "dir": "/var/backups",
                "gecos": "backup",
                "gid": 34,
                "group": {
                    "gid": 34,
                    "name": "backup",
                    "passwd": "x"
                },
                "name": "backup",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 34
            },
            {
                "dir": "/var/list",
                "gecos": "Mailing List Manager",
                "gid": 38,
                "group": {
                    "gid": 38,
                    "name": "list",
                    "passwd": "x"
                },
                "name": "list",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 38
            },
            {
                "dir": "/var/run/ircd",
                "gecos": "ircd",
                "gid": 39,
                "group": {
                    "gid": 39,
                    "name": "irc",
                    "passwd": "x"
                },
                "name": "irc",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 39
            },
            {
                "dir": "/var/lib/gnats",
                "gecos": "Gnats Bug-Reporting System (admin)",
                "gid": 41,
                "group": {
                    "gid": 41,
                    "name": "gnats",
                    "passwd": "x"
                },
                "name": "gnats",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 41
            },
            {
                "dir": "/nonexistent",
                "gecos": "nobody",
                "gid": 65534,
                "group": {
                    "gid": 65534,
                    "name": "nogroup",
                    "passwd": "x"
                },
                "name": "nobody",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 65534
            },
            {
                "dir": "/nonexistent",
                "gecos": "",
                "gid": 65534,
                "group": {
                    "gid": 65534,
                    "name": "nogroup",
                    "passwd": "x"
                },
                "name": "_apt",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 100
            },
            {
                "dir": "/run/systemd/netif",
                "gecos": "systemd Network Management,,,",
                "gid": 102,
                "group": {
                    "gid": 102,
                    "name": "systemd-network",
                    "passwd": "x"
                },
                "name": "systemd-network",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 101
            },
            {
                "dir": "/run/systemd/resolve",
                "gecos": "systemd Resolver,,,",
                "gid": 103,
                "group": {
                    "gid": 103,
                    "name": "systemd-resolve",
                    "passwd": "x"
                },
                "name": "systemd-resolve",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 102
            },
            {
                "dir": "/nonexistent",
                "gecos": "",
                "gid": 104,
                "group": {
                    "gid": 104,
                    "name": "messagebus",
                    "passwd": "x"
                },
                "name": "messagebus",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 103
            },
            {
                "dir": "/run/uuidd",
                "gecos": "",
                "gid": 106,
                "group": {
                    "gid": 106,
                    "name": "uuidd",
                    "passwd": "x"
                },
                "name": "uuidd",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 104
            },
            {
                "dir": "/home/syslog",
                "gecos": "",
                "gid": 108,
                "group": {
                    "gid": 108,
                    "name": "syslog",
                    "passwd": "x"
                },
                "name": "syslog",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 105
            },
            {
                "dir": "/nonexistent",
                "gecos": "",
                "gid": 109,
                "group": {
                    "gid": 109,
                    "name": "ntp",
                    "passwd": "x"
                },
                "name": "ntp",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 106
            },
            {
                "dir": "/var/lib/unbound",
                "gecos": "",
                "gid": 112,
                "group": {
                    "gid": 112,
                    "name": "unbound",
                    "passwd": "x"
                },
                "name": "unbound",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 107
            },
            {
                "dir": "/run/sshd",
                "gecos": "",
                "gid": 65534,
                "group": {
                    "gid": 65534,
                    "name": "nogroup",
                    "passwd": "x"
                },
                "name": "sshd",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 108
            },
            {
                "dir": "/home/zuul",
                "gecos": "",
                "gid": 1000,
                "group": {
                    "gid": 1000,
                    "name": "zuul",
                    "passwd": "x"
                },
                "name": "zuul",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18291,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/bin/bash",
                "uid": 1000
            },
            {
                "dir": "/var/lib/chrony",
                "gecos": "Chrony daemon,,,",
                "gid": 114,
                "group": {
                    "gid": 114,
                    "name": "_chrony",
                    "passwd": "x"
                },
                "name": "_chrony",
                "shadow": {
                    "expire_days": -1,
                    "inact_days": -1,
                    "last_changed": 18292,
                    "max_days": 99999,
                    "min_days": 0,
                    "warn_days": 7
                },
                "shell": "/usr/sbin/nologin",
                "uid": 109
            }
        ]
    },
    "created": "2020-01-31T15:50:49.580427Z",
    "updated": "2020-01-31T15:50:49.580463Z",
    "started": "2020-01-31T15:50:48.497384Z",
    "ended": "2020-01-31T15:50:49.079696Z",
    "duration": "00:00:00.582312",
    "changed": false,
    "ignore_errors": false
}