{"id":661,"sha1":"b9be0c1c18de8f0953ee4f599b5df3c95d21092e","playbook":{"id":5,"items":{"plays":108,"tasks":618,"results":960,"hosts":9,"files":456,"records":0},"arguments":{"version":null,"verbosity":0,"private_key_file":null,"remote_user":null,"connection":"openstack.osa.ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":true,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/zuul/src/opendev.org/openstack/openstack-ansible/inventory/dynamic_inventory.py","/home/zuul/src/opendev.org/openstack/openstack-ansible/inventory/inventory.ini","/etc/openstack_deploy/inventory.ini"],"listhosts":false,"subset":null,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":8,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["setup-openstack.yml"]},"labels":[{"id":1,"name":"check:False"},{"id":2,"name":"tags:all"}],"started":"2025-12-15T10:19:13.597292Z","ended":"2025-12-15T10:42:26.420131Z","duration":"00:23:12.822839","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.12.3","server_version":"1.7.4","status":"completed","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-openstack.yml","controller":"aio1.openstack.local","user":"root"},"content":"---\n# Copyright 2021 City Network International AB\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_trove_is_first_play_host: >-\n  {{\n    (trove_services['trove-api']['group'] in group_names and\n      inventory_hostname == (groups[trove_services['trove-api']['group']] | select('in', ansible_play_hosts)) | first) | bool\n  }}\n_trove_conductor_is_first_play_host: >-\n  {{\n    (trove_services['trove-conductor']['group'] in group_names and\n      inventory_hostname == (groups[trove_services['trove-conductor']['group']] | select('in', ansible_play_hosts)) | first) | bool\n  }}\n\n_trove_oslomsg_rpc_vhost_conf: >-\n  {{\n    (trove_oslomsg_rpc_vhost is string) | ternary(\n      trove_oslomsg_rpc_vhost, trove_oslomsg_rpc_vhost | selectattr('state', 'eq', 'present') | map(attribute='name') | first)\n  }}\n_trove_oslomsg_notify_vhost_conf: >-\n  {{\n    (trove_oslomsg_notify_vhost is string) | ternary(\n      trove_oslomsg_notify_vhost, trove_oslomsg_notify_vhost | selectattr('state', 'eq', 'present') | map(attribute='name') | first)\n  }}\n\n_trove_guest_oslomsg_rpc_vhost_conf: >-\n  {{\n    (trove_guest_oslomsg_rpc_vhost is string) | ternary(\n      trove_guest_oslomsg_rpc_vhost, trove_guest_oslomsg_rpc_vhost | selectattr('state', 'eq', 'present') | map(attribute='name') | first)\n  }}\n_trove_guest_oslomsg_notify_vhost_conf: >-\n  {{\n    (trove_guest_oslomsg_notify_vhost is string) | ternary(\n      trove_guest_oslomsg_notify_vhost, trove_guest_oslomsg_notify_vhost | selectattr('state', 'eq', 'present') | map(attribute='name') | first)\n  }}\n\nfiltered_trove_services: |-\n  {% set services = [] %}\n  {% for key, value in trove_services.items() %}\n  {%   if (value['group'] in group_names) and\n          (('condition' not in value) or\n           ('condition' in value and value['condition'])) and\n            not ('wsgi_app' in value and value['wsgi_app']) %}\n  {%     set _ = value.update(\n            {\n              'service_key': key,\n              'enabled': value['enabled'] | default(True),\n              'state': value['state'] | default('started')\n            }\n          )\n  %}\n  {%     set _ = services.append(value) %}\n  {%   endif %}\n  {% endfor %}\n  {{ services | sort(attribute='start_order') }}\n\nuwsgi_trove_services: |-\n  {% set services = {} %}\n  {% for key, value in trove_services.items() %}\n  {%   if (value['group'] in group_names) and\n         (('condition' not in value) or ('condition' in value and value['condition']))\n         and ('wsgi_app' in value and value['wsgi_app']) %}\n  {%     set _ = value.update(\n           {\n             'wsgi_path':  trove_bin ~ '/' ~ value.wsgi_name,\n             'wsgi_venv': trove_bin | dirname,\n             'uwsgi_uid': trove_system_user_name,\n             'uwsgi_guid': trove_system_group_name,\n             'uwsgi_processes': trove_api_workers,\n             'uwsgi_threads': trove_wsgi_threads,\n           }\n         ) %}\n  {%     set _ = services.update({key: value}) %}\n  {%   endif %}\n  {% endfor %}\n  {{ services }}\n\n_trove_glance_images_compat: |-\n  {% set images = [] %}\n  {% for image in trove_guestagent_images %}\n  {%   if 'public' in image and image['public'] %}\n  {%     set _ = image.update({'visibility': 'public'}) %}\n  {%     set _ = image.pop('public')  %}\n  {%   endif %}\n  {%   if 'distro' in image %}\n  {%     set image_properties = image.get('properties', {}) %}\n  {%     set _ = image_properties.update({'os_distro': image.pop('distro')}) %}\n  {%     set _ = image.update({'properties': image_properties}) %}\n  {%   endif %}\n  {%   if 'file' in image and image['file'] is url %}\n  {%     set _ = image.update({'url': image.pop('file')}) %}\n  {%   endif %}\n  {%   if 'image_format' in image %}\n  {%     set _ = image.update({'container_format': image.pop('image_format')}) %}\n  {%   endif %}\n  {# NOTE(noonedeadpunk): Glance requires image checksum to be in plain md5 only #}\n  {%   if 'checksum' in image and image['checksum'].split(':') | length > 1 %}\n  {%     set _ = image.pop('checksum') %}\n  {%   endif %}\n  {%   set _ = images.append(image) %}\n  {% endfor %}\n  {{ images }}\n","created":"2025-12-15T10:19:27.087170Z","updated":"2025-12-15T10:19:27.087198Z","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-os_trove/vars/main.yml"}