diff --git a/templates/keystone-uwsgi.ini.j2 b/templates/keystone-uwsgi.ini.j2 index a1b352fc..c4831e88 100644 --- a/templates/keystone-uwsgi.ini.j2 +++ b/templates/keystone-uwsgi.ini.j2 @@ -6,7 +6,7 @@ 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' %} +{% if keystone_install_method == 'distro' and (ansible_os_family | lower) in ['debian', 'suse' ] %} plugin = python3 {% endif %} wsgi-file = {{ keystone_bin }}/{{ item }} diff --git a/vars/suse.yml b/vars/suse.yml index 9c7c52a4..65cea06f 100644 --- a/vars/suse.yml +++ b/vars/suse.yml @@ -29,13 +29,12 @@ keystone_devel_distro_packages: - openldap2-devel - systemd-devel - pkg-config - - python-devel + - python3-devel keystone_service_distro_packages: - openstack-keystone - - python-systemd - uwsgi - - uwsgi-python + - uwsgi-python3 keystone_apache_distro_packages: - apache2