Git Product home page Git Product logo

ansible-gunicorn's Introduction

Ansible Role: gunicorn

Build Status

Ansible role to install gunicorn.

Requirements

None.

Role Variables

Required

  • gunicorn_project_dir: The directory of the project containing the wsgi application. Example: /var/www/django_app
  • gunicorn_wsgi_application: The wsgi application to invoke. Example: myapp.wsgi:application

Optional

  • gunicorn_bind_address: The bind method for communication with gunicorn. Default: unix:/var/run/gunicorn.sock
  • gunicorn_log_level: The logging level. Default: info
  • gunicorn_config_dir: The directory to be used for config info. Default: /etc/gunicorn
  • gunicorn_log_dir: The directory to store logs. Default: /var/log/gunicorn
  • gunicorn_user_name: The user account to run gunicorn under. Default: gunicorn
  • gunicorn_group_name: The group to run gunicorn under. Default: gunicorn
  • gunicorn_install_path: The folder containing the gunicorn executable. Change if you're using a virtualenv version of this.
  • gunicorn_reload: Whether to activate hot-reloading of code (for development). Default: false
  • gunicorn_workers: The number of workers to instantiate. Default: 8

Dependencies

  • The ScorpionResponse.pip role will be used to install pip
  • The ScorpionResponse.supervisord role will be use to install supervisord and run gunicorn with that.

Example Playbook

Example usage:

- hosts: all
  roles:
     - { role: ScorpionResponse.gunicorn }

License

BSD

Author Information

Github: https://github.com/ScorpionResponse

ansible-gunicorn's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

jdnrg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.