repleo.django-app
Ansible Role: git server via https by nginx
Ansible role for installing a Django application with a Postgres database and NGINX / uWSGI application server stack.
Requirements
Only tested on ubuntu and debian for now.
Role Variables
Available variables are listed below, along with default values:
www_domain: "example.com",
dbuser: "example",
dbpassword: "3x4mple",
dbname: "example",
files_dir: "{{ playbook_dir }}/files/",
certificate: "example.com_chain.pem",
key: "example.com.key"
Dependencies
- repleo.nginx - Installs nginx server and configures virtual host for given domainname.
- repleo.postgresql - Installs database server and configures database.
Example Playbook
- hosts: servers
roles:
- { role: repleo.django-app,
www_domain: "example.com",
dbuser: "example",
dbpassword: "3x4mple",
dbname: "example",
files_dir: "{{ playbook_dir }}/files/",
certificate: "example.com_chain.pem",
key: "example.com.key"
}
License
GPL v3 - (c) 2016, Repleo, Amstelveen
Author Information
Repleo, Amstelveen, Holland -- www.repleo.nl
Jeroen Arnoldus (jeroen@repleo.nl)
About
Ansible role for installing a Django based web application including uwsgi, postgresql and nginx
Install
ansible-galaxy install repleo.django-appLicense
gpl-3.0
Downloads
88
Owner
Continuous delivery and software development experts
