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

{
    "id": 1117,
    "sha1": "79d22ab0785b3bbd3737477a7eda201d441392b0",
    "playbook": {
        "id": 18,
        "items": {
            "plays": 1,
            "tasks": 302,
            "results": 245,
            "hosts": 1,
            "files": 34,
            "records": 0
        },
        "labels": [],
        "started": "2020-01-31T15:51:31.367793Z",
        "ended": "2020-01-31T15:57:53.897923Z",
        "duration": "00:06:22.530130",
        "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 2017, 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\nbootstrap_host_scenarios: \"{{ (bootstrap_host_scenario.split('_') | reject('equalto', '')) | list }}\"\n\n# Expand the scenario list to include specific services that are being deployed\n# as part of the scenario\nbootstrap_host_scenarios_expanded: |-\n  {# Keystone is included in every scenario #}\n  {% set scenario_list = bootstrap_host_scenarios + ['keystone'] %}\n  {% if 'metal' not in bootstrap_host_scenarios %}\n  {%   set _ = scenario_list.append('haproxy') %}\n  {% endif %}\n  {% if ['aio', 'translations'] | intersect(bootstrap_host_scenarios) | length > 0 %}\n  {#   Base services deployed with aio and translations scenarios #}\n  {%   set _ = scenario_list.extend(['cinder', 'glance', 'neutron', 'nova', 'placement']) %}\n  {%   if 'metal' not in bootstrap_host_scenarios %}\n  {#     Horizon is a base service in container jobs #}\n  {%     set _ = scenario_list.append('horizon') %}\n  {%   endif %}\n  {% endif %}\n  {# Service additions based on scenario presence #}\n  {% if 'calico' in bootstrap_host_scenarios %}\n  {%   set _ = scenario_list.extend(['etcd']) %}\n  {% endif %}\n  {% if 'ironic' in bootstrap_host_scenarios %}\n  {%   set _ = scenario_list.extend(['swift']) %}\n  {% endif %}\n  {% if 'magnum' in bootstrap_host_scenarios %}\n  {%   set _ = scenario_list.extend(['heat'])  %}\n  {% endif %}\n  {% if 'murano' in bootstrap_host_scenarios %}\n  {%   set _ = scenario_list.extend(['heat'])  %}\n  {% endif %}\n  {% if 'telemetry' in bootstrap_host_scenarios %}\n  {%   set _ = scenario_list.extend(['aodh', 'ceilometer', 'gnocchi', 'panko']) %}\n  {% endif %}\n  {% if 'translations' in bootstrap_host_scenarios %}\n  {%   set _ = scenario_list.extend(['designate', 'heat', 'magnum', 'sahara', 'swift', 'trove']) %}\n  {% endif %}\n  {{ (scenario_list | unique) | sort }}\n",
    "created": "2020-01-31T15:51:32.127149Z",
    "updated": "2020-01-31T15:51:32.127184Z",
    "path": "/home/zuul/src/opendev.org/openstack/openstack-ansible/tests/roles/bootstrap-host/vars/main.yml"
}