Skip to content

An ansible role that compiles and installs uWSGI, in a format for ansible galaxy

License

Notifications You must be signed in to change notification settings

hzdg/ansible-uwsgi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uWSGI

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/.

Requirements

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.

Role Variables

The role uses 4 variables, that you can also override:

  • uwsgi_version - specifies the latest stable version of uWSGI
  • uwsgi_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's https://github.com/unbit/uwsgi/archive by default.

Usage

ansible-galaxy install gdamjan.uwsgi

Also check the Ansible Galaxy about page.

License

BSD

Author and other Information

Damjan Georgievski

GitHub project page

About

An ansible role that compiles and installs uWSGI, in a format for ansible galaxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published