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:
@@ -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:
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user