Switch from wsgi script to wsgi module

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/950706
Change-Id: I918f6d3ae97a47a65afa4ca1a2ee97d4b9c46c5c
This commit is contained in:
Jonathan Rosser
2025-05-21 10:30:16 +01:00
parent f539d68efc
commit 6bbeeb879d
2 changed files with 1 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ barbican_services:
uwsgi_port: "{{ barbican_service_port }}"
uwsgi_overrides: "{{ barbican_uwsgi_init_overrides }}"
wsgi_app: true
wsgi_name: barbican-wsgi-api
wsgi: "barbican.wsgi.api:application"
start_order: 1
uwsgi_tls: "{{ barbican_backend_ssl | ternary(barbican_uwsgi_tls, {}) }}"
barbican-worker:

View File

@@ -67,7 +67,6 @@ uwsgi_barbican_services: |-
and ('wsgi_app' in value and value['wsgi_app']) %}
{% set _ = value.update(
{
'wsgi_path': barbican_bin ~ '/' ~ value.wsgi_name,
'wsgi_venv': ((barbican_install_method == 'source') | ternary(barbican_bin | dirname, None)),
'uwsgi_uid': barbican_system_user_name,
'uwsgi_guid': barbican_system_group_name,