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

{
    "id": 1519,
    "sha1": "d90bc46fcfd6ba3e7deb0b606a07dad926f57142",
    "playbook": {
        "id": 21,
        "items": {
            "plays": 20,
            "tasks": 208,
            "results": 168,
            "hosts": 1,
            "files": 189,
            "records": 0
        },
        "labels": [],
        "started": "2020-01-31T15:53:31.538179Z",
        "ended": "2020-01-31T15:59:11.725650Z",
        "duration": "00:05:40.187471",
        "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 2018, Red Hat, 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: Create and configure qdrouterd container\n  hosts: \"{{ qdrouterd_host_group | default('qdrouterd_all') }}\"\n  serial: 1\n  gather_facts: \"{{ osa_gather_facts | default(True) }}\"\n  user: root\n  environment: \"{{ deployment_environment_variables | default({}) }}\"\n  tags:\n    - qdrouterd\n  pre_tasks:\n    - include_tasks: \"common-tasks/os-{{ container_tech | default('lxc') }}-container-setup.yml\"\n      vars:\n        extra_container_config_no_restart:\n          - \"lxc.start.order=19\"\n      when: not is_metal\n\n    - include_tasks: common-tasks/unbound-clients.yml\n      when:\n        - hostvars['localhost']['resolvconf_enabled'] | bool\n  roles:\n    - role: \"system_crontab_coordination\"\n\n\n- name: Install qdrouterd server\n  hosts: \"{{ qdrouterd_host_group | default('qdrouterd_all') }}\"\n  serial: 20%\n  user: root\n  environment: \"{{ deployment_environment_variables | default({}) }}\"\n  tags:\n    - qdrouterd\n  roles:\n    - role: \"qdrouterd\"\n\n  post_tasks:\n    - include_tasks: \"common-tasks/rsyslog-client.yml\"\n      vars:\n        rsyslog_client_log_rotate_file: qdrouterd_log_rotate\n        rsyslog_client_log_dir: \"/var/log/qdrouterd\"\n        rsyslog_client_config_name: \"99-qdrouterd-rsyslog-client.conf\"\n",
    "created": "2020-01-31T15:53:43.452676Z",
    "updated": "2020-01-31T15:53:43.452714Z",
    "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/qdrouterd-install.yml"
}