Installs or updates uWSGI. It'll also set the uWSGI emperor to run from a @reboot
crontab entry.
The emperor will run a vassal for any .ini
put in /etc/uwsgi/vassals/
.
The role is created for Debian, Ubuntu and CentOS/RHEL 6.5/7.x. The role will also install build-essential
and some -dev
packages that it needs to compile uWSGI. Ruby/Rack support is not available on CentOS/RHEL-6.x, but is on 7.x releases.
The role uses 4 variables, that you can also override:
uwsgi_version
- specifies the latest stable version of uWSGIuwsgi_tyrant_mode
- if True, uWSGI will run in Tyrant mode (False by default)uwsgi_lib_dir
- normally shouldn't be changed. The directory where plugins are installed. It's/usr/local/lib/uwsgi
by default.uwsgi_download_url
- normally shouldn't be changed. It'shttps://github.com/unbit/uwsgi/archive
by default.
ansible-galaxy install gdamjan.uwsgi
Also check the Ansible Galaxy about page.
BSD
Damjan Georgievski