GET /api/v1/playbooks/2?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2,
    "items": {
        "plays": 2,
        "tasks": 6,
        "results": 14,
        "hosts": 4,
        "files": 1,
        "records": 0
    },
    "arguments": {
        "verbosity": 3,
        "ask_pass": false,
        "private_key_file": null,
        "remote_user": null,
        "connection": "smart",
        "timeout": 10,
        "ssh_common_args": "",
        "sftp_extra_args": "",
        "scp_extra_args": "",
        "ssh_extra_args": "",
        "force_handlers": false,
        "flush_cache": null,
        "become": false,
        "become_method": "sudo",
        "become_user": null,
        "become_ask_pass": false,
        "tags": [
            "all"
        ],
        "skip_tags": [],
        "check": false,
        "syntax": null,
        "diff": false,
        "inventory": [
            "/etc/ansible/hosts"
        ],
        "listhosts": null,
        "subset": null,
        "extra_vars": "Not saved by ARA as configured by 'ignored_arguments'",
        "ask_vault_pass": false,
        "vault_password_files": [],
        "vault_ids": [],
        "forks": 5,
        "module_path": null,
        "listtasks": null,
        "listtags": null,
        "step": null,
        "start_at_task": null,
        "args": [
            "/home/zuul/.ara-tests/git/ara/tests/integration/hosts.yaml"
        ]
    },
    "labels": [],
    "plays": [
        {
            "id": 4,
            "tasks": [
                {
                    "id": 39,
                    "tags": [
                        "always"
                    ],
                    "results": [
                        {
                            "id": 39,
                            "status": "ok",
                            "host": {
                                "id": 3,
                                "name": "localhost"
                            },
                            "started": "2019-10-23T21:42:25.534985Z",
                            "ended": "2019-10-23T21:42:27.832545Z",
                            "duration": "00:00:02.297560",
                            "changed": false,
                            "ignore_errors": false
                        }
                    ],
                    "file": {
                        "id": 6,
                        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/hosts.yaml"
                    },
                    "started": "2019-10-23T21:42:25.534985Z",
                    "ended": "2019-10-23T21:42:27.931372Z",
                    "duration": "00:00:02.396387",
                    "name": "Gathering Facts",
                    "action": "gather_facts",
                    "lineno": 19,
                    "handler": false,
                    "status": "completed",
                    "play": 4
                },
                {
                    "id": 40,
                    "tags": [],
                    "results": [
                        {
                            "id": 40,
                            "status": "changed",
                            "host": {
                                "id": 3,
                                "name": "localhost"
                            },
                            "started": "2019-10-23T21:42:27.981101Z",
                            "ended": "2019-10-23T21:42:28.092758Z",
                            "duration": "00:00:00.111657",
                            "changed": true,
                            "ignore_errors": false
                        }
                    ],
                    "file": {
                        "id": 6,
                        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/hosts.yaml"
                    },
                    "started": "2019-10-23T21:42:27.981101Z",
                    "ended": "2019-10-23T21:42:28.131612Z",
                    "duration": "00:00:00.150511",
                    "name": "Add fake hosts in inventory",
                    "action": "add_host",
                    "lineno": 23,
                    "handler": false,
                    "status": "completed",
                    "play": 4
                }
            ],
            "started": "2019-10-23T21:42:25.455492Z",
            "ended": "2019-10-23T21:42:28.146508Z",
            "duration": "00:00:02.691016",
            "name": "Create fake hosts for host tests",
            "status": "completed"
        },
        {
            "id": 5,
            "tasks": [
                {
                    "id": 41,
                    "tags": [
                        "always"
                    ],
                    "results": [
                        {
                            "id": 41,
                            "status": "ok",
                            "host": {
                                "id": 4,
                                "name": "host1"
                            },
                            "started": "2019-10-23T21:42:28.247155Z",
                            "ended": "2019-10-23T21:42:28.914875Z",
                            "duration": "00:00:00.667720",
                            "changed": false,
                            "ignore_errors": false
                        },
                        {
                            "id": 42,
                            "status": "ok",
                            "host": {
                                "id": 5,
                                "name": "host2"
                            },
                            "started": "2019-10-23T21:42:28.247155Z",
                            "ended": "2019-10-23T21:42:28.953513Z",
                            "duration": "00:00:00.706358",
                            "changed": false,
                            "ignore_errors": false
                        },
                        {
                            "id": 43,
                            "status": "ok",
                            "host": {
                                "id": 6,
                                "name": "host3"
                            },
                            "started": "2019-10-23T21:42:28.247155Z",
                            "ended": "2019-10-23T21:42:29.928037Z",
                            "duration": "00:00:01.680882",
                            "changed": false,
                            "ignore_errors": false
                        }
                    ],
                    "file": {
                        "id": 6,
                        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/hosts.yaml"
                    },
                    "started": "2019-10-23T21:42:28.247155Z",
                    "ended": "2019-10-23T21:42:29.964507Z",
                    "duration": "00:00:01.717352",
                    "name": "Gathering Facts",
                    "action": "gather_facts",
                    "lineno": 33,
                    "handler": false,
                    "status": "completed",
                    "play": 5
                },
                {
                    "id": 42,
                    "tags": [],
                    "results": [
                        {
                            "id": 44,
                            "status": "ok",
                            "host": {
                                "id": 4,
                                "name": "host1"
                            },
                            "started": "2019-10-23T21:42:30.031108Z",
                            "ended": "2019-10-23T21:42:30.417667Z",
                            "duration": "00:00:00.386559",
                            "changed": false,
                            "ignore_errors": false
                        },
                        {
                            "id": 45,
                            "status": "ok",
                            "host": {
                                "id": 6,
                                "name": "host3"
                            },
                            "started": "2019-10-23T21:42:30.031108Z",
                            "ended": "2019-10-23T21:42:30.446569Z",
                            "duration": "00:00:00.415461",
                            "changed": false,
                            "ignore_errors": false
                        },
                        {
                            "id": 46,
                            "status": "ok",
                            "host": {
                                "id": 5,
                                "name": "host2"
                            },
                            "started": "2019-10-23T21:42:30.031108Z",
                            "ended": "2019-10-23T21:42:30.465749Z",
                            "duration": "00:00:00.434641",
                            "changed": false,
                            "ignore_errors": false
                        }
                    ],
                    "file": {
                        "id": 6,
                        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/hosts.yaml"
                    },
                    "started": "2019-10-23T21:42:30.031108Z",
                    "ended": "2019-10-23T21:42:30.539819Z",
                    "duration": "00:00:00.508711",
                    "name": "Ping",
                    "action": "ping",
                    "lineno": 37,
                    "handler": false,
                    "status": "completed",
                    "play": 5
                },
                {
                    "id": 43,
                    "tags": [],
                    "results": [
                        {
                            "id": 47,
                            "status": "ok",
                            "host": {
                                "id": 4,
                                "name": "host1"
                            },
                            "started": "2019-10-23T21:42:30.568108Z",
                            "ended": "2019-10-23T21:42:30.651939Z",
                            "duration": "00:00:00.083831",
                            "changed": false,
                            "ignore_errors": false
                        },
                        {
                            "id": 48,
                            "status": "skipped",
                            "host": {
                                "id": 5,
                                "name": "host2"
                            },
                            "started": "2019-10-23T21:42:30.568108Z",
                            "ended": "2019-10-23T21:42:30.704367Z",
                            "duration": "00:00:00.136259",
                            "changed": false,
                            "ignore_errors": false
                        },
                        {
                            "id": 49,
                            "status": "skipped",
                            "host": {
                                "id": 6,
                                "name": "host3"
                            },
                            "started": "2019-10-23T21:42:30.568108Z",
                            "ended": "2019-10-23T21:42:30.733636Z",
                            "duration": "00:00:00.165528",
                            "changed": false,
                            "ignore_errors": false
                        }
                    ],
                    "file": {
                        "id": 6,
                        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/hosts.yaml"
                    },
                    "started": "2019-10-23T21:42:30.568108Z",
                    "ended": "2019-10-23T21:42:30.806626Z",
                    "duration": "00:00:00.238518",
                    "name": "Do something only on host1",
                    "action": "set_fact",
                    "lineno": 40,
                    "handler": false,
                    "status": "completed",
                    "play": 5
                },
                {
                    "id": 44,
                    "tags": [],
                    "results": [
                        {
                            "id": 50,
                            "status": "skipped",
                            "host": {
                                "id": 4,
                                "name": "host1"
                            },
                            "started": "2019-10-23T21:42:30.833718Z",
                            "ended": "2019-10-23T21:42:30.942095Z",
                            "duration": "00:00:00.108377",
                            "changed": false,
                            "ignore_errors": false
                        },
                        {
                            "id": 51,
                            "status": "skipped",
                            "host": {
                                "id": 6,
                                "name": "host3"
                            },
                            "started": "2019-10-23T21:42:30.833718Z",
                            "ended": "2019-10-23T21:42:30.974418Z",
                            "duration": "00:00:00.140700",
                            "changed": false,
                            "ignore_errors": false
                        },
                        {
                            "id": 52,
                            "status": "ignored",
                            "host": {
                                "id": 5,
                                "name": "host2"
                            },
                            "started": "2019-10-23T21:42:30.833718Z",
                            "ended": "2019-10-23T21:42:31.376566Z",
                            "duration": "00:00:00.542848",
                            "changed": true,
                            "ignore_errors": true
                        }
                    ],
                    "file": {
                        "id": 6,
                        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/hosts.yaml"
                    },
                    "started": "2019-10-23T21:42:30.833718Z",
                    "ended": "2019-10-23T21:42:31.398050Z",
                    "duration": "00:00:00.564332",
                    "name": "Fail something only on host2",
                    "action": "command",
                    "lineno": 45,
                    "handler": false,
                    "status": "completed",
                    "play": 5
                }
            ],
            "started": "2019-10-23T21:42:28.213524Z",
            "ended": "2019-10-23T21:42:31.411767Z",
            "duration": "00:00:03.198243",
            "name": "ARA Hosts test play",
            "status": "completed"
        }
    ],
    "hosts": [
        {
            "id": 3,
            "name": "localhost",
            "changed": 1,
            "failed": 0,
            "ok": 2,
            "skipped": 0,
            "unreachable": 0,
            "playbook": 2
        },
        {
            "id": 4,
            "name": "host1",
            "changed": 0,
            "failed": 0,
            "ok": 3,
            "skipped": 1,
            "unreachable": 0,
            "playbook": 2
        },
        {
            "id": 5,
            "name": "host2",
            "changed": 1,
            "failed": 0,
            "ok": 3,
            "skipped": 1,
            "unreachable": 0,
            "playbook": 2
        },
        {
            "id": 6,
            "name": "host3",
            "changed": 0,
            "failed": 0,
            "ok": 2,
            "skipped": 2,
            "unreachable": 0,
            "playbook": 2
        }
    ],
    "files": [
        {
            "id": 6,
            "sha1": "d7ced41f06c50fd2be044abb01bad712ff872c78",
            "path": "/home/zuul/.ara-tests/git/ara/tests/integration/hosts.yaml",
            "playbook": 2
        }
    ],
    "records": [],
    "created": "2019-10-23T21:42:25.379740Z",
    "updated": "2019-11-08T21:00:23.105037Z",
    "started": "2019-10-23T21:42:25.368151Z",
    "ended": "2019-10-23T21:42:31.557847Z",
    "duration": "00:00:06.189696",
    "name": null,
    "ansible_version": "2.8.6.post0",
    "status": "completed",
    "path": "/home/zuul/.ara-tests/git/ara/tests/integration/hosts.yaml"
}