Install pcre on destination hosts

While pcre support is built in wheels, uWSGI still needs to have pcre
library on hosts where it runs, as libpcre.so.3 is reffered by the
binary after being installed in venv.

Closes-Bug: #2073873
Change-Id: I21a90b8387a8fd9f7a77a631dcb9f9eb06243fbc
This commit is contained in:
Dmitriy Rabotyagov 2024-07-25 13:42:13 +02:00
parent db4ec50997
commit 3dac3dadbb
4 changed files with 10 additions and 0 deletions

View File

@ -50,6 +50,7 @@
venv_pip_install_args: "{{ uwsgi_pip_install_args }}"
venv_pip_packages: "{{ uwsgi_pip_packages }}"
venv_build_distro_package_list: "{{ uwsgi_build_distro_package_list }}"
venv_install_distro_package_list: "{{ uwsgi_source_package_list }}"
venv_python_executable: "{{ uwsgi_python_executable }}"
venv_facts_when_changed:
- section: 'uwsgi'

View File

@ -34,4 +34,8 @@ uwsgi_build_distro_package_list:
- libssl-dev
- libpcre3-dev
uwsgi_source_package_list:
- libssl3
- libpcre3
_uwsgi_env: "REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt"

View File

@ -23,4 +23,8 @@ uwsgi_build_distro_package_list:
- openssl-devel
- pcre-devel
uwsgi_source_package_list:
- openssl
- pcre
_uwsgi_env: "REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt"

View File

@ -17,6 +17,7 @@
templates:
- check-requirements
- openstack-ansible-deploy-aio_metal-jobs
- openstack-ansible-deploy-aio_lxc-jobs
- openstack-ansible-deploy-aio_distro_metal-jobs
- openstack-ansible-linters-jobs
- publish-openstack-docs-pti