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

{
    "id": 631,
    "sha1": "c6f7e3a745cf2cd6b1ead23d82b80b586b220ac4",
    "playbook": {
        "id": 13,
        "items": {
            "plays": 1,
            "tasks": 261,
            "results": 214,
            "hosts": 1,
            "files": 34,
            "records": 0
        },
        "labels": [],
        "started": "2020-01-31T15:49:12.866208Z",
        "ended": "2020-01-31T15:51:01.593852Z",
        "duration": "00:01:48.727644",
        "name": null,
        "ansible_version": "2.8.8",
        "status": "completed",
        "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible/tests/bootstrap-aio.yml"
    },
    "content": "---\n# Copyright 2015, 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: Create sparse Nova file\n  command: \"truncate -s {{ bootstrap_host_loopback_nova_size }}G /openstack/nova.img\"\n  args:\n    creates: /openstack/nova.img\n  tags:\n    - nova-file-create\n\n- name: Format the Nova file\n  filesystem:\n    fstype: xfs\n    dev: /openstack/nova.img\n    opts: \"{{ bootstrap_host_format_options['xfs'] | default(omit) }}\"\n  tags:\n    - nova-format-file\n\n- name: Run the systemd mount role\n  include_role:\n    name: systemd_mount\n  vars:\n    systemd_mounts:\n      - what: \"/openstack/nova.img\"\n        where: \"/var/lib/nova/instances\"\n        options: \"loop,{{ bootstrap_host_data_mount_options['xfs'] }}\"\n        type: \"xfs\"\n        state: 'started'\n        enabled: true\n  tags:\n    - nova-config\n",
    "created": "2020-01-31T15:49:13.738389Z",
    "updated": "2020-01-31T15:49:13.738428Z",
    "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible/tests/roles/bootstrap-host/tasks/prepare_loopback_nova.yml"
}