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

{
    "id": 2615,
    "sha1": "1b76bb0fc1cf2eefa367de33852a34746ca61093",
    "playbook": {
        "id": 24,
        "items": {
            "plays": 20,
            "tasks": 217,
            "results": 174,
            "hosts": 1,
            "files": 196,
            "records": 0
        },
        "labels": [],
        "started": "2020-01-31T15:56:02.803307Z",
        "ended": "2020-01-31T16:01:21.505723Z",
        "duration": "00:05:18.702416",
        "name": null,
        "ansible_version": "2.8.8",
        "status": "completed",
        "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-infrastructure.yml"
    },
    "content": "---\n# Copyright 2014, Rackspace US, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n- name: Prepare the package list\n  set_fact:\n    galera_packages_list: \"{{ galera_server_required_distro_packages + galera_server_mariadb_distro_packages }}\"\n\n- include_tasks: \"galera_install_{{ ansible_pkg_mgr }}.yml\"\n\n- name: Record galera has been deployed\n  ini_file:\n    dest: \"/etc/ansible/facts.d/openstack_ansible.fact\"\n    section: galera\n    option: deployed\n    value: true\n\n- name: Set the galera existing cluster fact\n  set_fact:\n    galera_deployed: true\n",
    "created": "2020-01-31T15:57:25.166190Z",
    "updated": "2020-01-31T15:57:25.166228Z",
    "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible-galera_server/tasks/galera_install.yml"
}