Execution
Date 08 Dec 2025 13:39:52 +0000
Duration 00:35:02.03
Controller aio1.openstack.local
User root
Versions
Ansible 2.18.6
ara 1.7.4 / 1.7.4
Python 3.12.3
Summary
2 Hosts
1377 Tasks
1365 Results
104 Plays
504 Files
0 Records

File: /home/zuul/src/opendev.org/openstack/ansible-role-uwsgi/defaults/main.yml

---
# Copyright 2019, VEXXHOST, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

uwsgi_system_user_name: uwsgi
uwsgi_system_group_name: uwsgi
uwsgi_system_slice_name: uwsgi
uwsgi_lock_dir: "{{ openstack_lock_dir | default('/run/lock') }}"
uwsgi_run_dir: "{{ openstack_run_dir | default('/run') }}"

# Set installation method. Valid options: source, distro
uwsgi_install_method: source

# Virtual env suffix to deploy into
uwsgi_venv_tag: "{{ venv_tag | default('untagged') }}"

uwsgi_pip_install_args: "{{ pip_install_options | default('') }}"
uwsgi_python_executable: "python3"

uwsgi_package_state: "latest"

# Default environment variables to set for uwsgi process
uwsgi_env: "{{ _uwsgi_env }}"

# Define uwsgi_services for deployment of uwsgi. You should provide
# at least wsgi_path and uwsgi_port. wsgi_venv should be defined for
# services installed inside virtualenv.
# Example structure:
# uwsgi_services:
#   service:
#     service_name: service-api
#     wsgi_path: /openstack/venvs/api/bin/wsgi-api
#     wsgi_venv: /openstack/venvs/api
#     init_config_overrides: {}
#     uwsgi_uid: root
#     uwsgi_guid: root
#     uwsgi_overrides: {}
#     uwsgi_processes: [ansible_facts['processor_vcpus'] | default(1), 1] | max * 2
#     uwsgi_threads: 1
#     uwsgi_bind_address: 0.0.0.0   # OR a list, uwsgi_bind_address: [ '127.0.0.1', '1.2.3.4' ]
#     uwsgi_port: 8080
#     uwsgi_env: "FOO=bar"
#     uwsgi_tls:
#       crt: /path/to/crt
#       key: /path/to/key
#     uwsgi_pyargv: "--foo=bar --config_file=/etc/foo/foo.conf"
uwsgi_services: {}

# Override can be used to apply config change to all uwsgi services
# instead of adjusting each service separately
uwsgi_ini_overrides: {}
uwsgi_init_config_overrides: {}