Debian mod_wsgi python versions

Use horizon_venv_python_executable instead of the install_method to
decide what version of libapache2-mod-wsgi should be installed.

Change-Id: Ie68d587bf69af9d298a643b056edcbd6e2c8a73d
This commit is contained in:
Georgina Shippey 2019-10-29 17:18:29 +00:00
parent 10aa884a16
commit 7decc60313
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ horizon_distro_packages:
- apache2-utils
- cron # required by the Ansible cron module
- gettext
- "{{ (horizon_install_method == 'distro') | ternary('libapache2-mod-wsgi-py3', 'libapache2-mod-wsgi') }}"
- "{{ (horizon_venv_python_executable == 'python3') | ternary('libapache2-mod-wsgi-py3', 'libapache2-mod-wsgi') }}"
horizon_service_distro_packages:
- python3-django-openstack-auth