Install GCC for source installs

GCC presence is required [1] to build uwsgi package  otherwise it will
fail on processing uwsgiconfig.py
While it's got installe with openstack-hosts this might be an issue
when uwsgi is used as a standalone role

[1] 2989143935/uwsgiconfig.py (L714-L720)

Change-Id: I60baab1f6ebbe9e424ebe41967d65a1dcdec4235
This commit is contained in:
Dmitriy Rabotyagov 2021-08-29 15:57:47 +03:00
parent 5f2a073243
commit 5507c98d1f
2 changed files with 3 additions and 2 deletions

View File

@ -42,7 +42,6 @@
notify:
- Manage LB
- Restart uwsgi services
when: uwsgi_install_method == 'distro'
- name: Install the python venv
import_role:

View File

@ -15,6 +15,8 @@
uwsgi_bin: "/openstack/venvs/uwsgi-{{ uwsgi_venv_tag }}-{{ uwsgi_python_executable }}/bin"
uwsgi_package list: []
uwsgi_package_list:
- gcc
uwsgi_pip_packages:
- uwsgi