diff --git a/templates/keystone-uwsgi.ini.j2 b/templates/keystone-uwsgi.ini.j2 index 9825a23a..8643d0f2 100644 --- a/templates/keystone-uwsgi.ini.j2 +++ b/templates/keystone-uwsgi.ini.j2 @@ -6,6 +6,9 @@ gid = {{ keystone_system_group_name }} {% if keystone_install_method == 'source' %} virtualenv = /openstack/venvs/keystone-{{ keystone_venv_tag }} {% endif %} +{% if keystone_install_method == 'distro' and (ansible_os_family | lower) == 'debian' %} +plugin = python3 +{% endif %} wsgi-file = {{ keystone_bin }}/{{ item }} http = :{{ keystone_uwsgi_ports[item]['http'] }} socket = 127.0.0.1:{{ keystone_uwsgi_ports[item]['socket'] }} diff --git a/vars/debian.yml b/vars/debian.yml index 34e67830..363b33c4 100644 --- a/vars/debian.yml +++ b/vars/debian.yml @@ -38,11 +38,11 @@ keystone_devel_distro_packages: - python-dev keystone_service_distro_packages: - - keystone + - python3-keystone - python-systemd - python3-systemd - uwsgi - - uwsgi-plugin-python + - uwsgi-plugin-python3 keystone_apache_distro_packages: - apache2