This repository holds the documentation for a collection of Ansible roles for deployments of Django projects. These exist primarily to support the Caktus Django project template.
- tequila-common
- Install common system packages, set up server users and keys, add some basic security configuration, and create the standard project directory structure.
- tequila-nginx
- Install and configure nginx as a forwarding proxy for a Django project.
- tequila-django
- Set up a Django project to run under gunicorn and/or Celery.
- tequila-nodejs
- A thin wrapper around geerlingguy/nodejs, tequila-nodejs installs nodejs and npm, installs your project dependencies, and executes your front-end build script.
- tequila-postgresql
- Install a PostgreSQL server and create a project database.
- tequila-rabbitmq
- Install and configure RabbitMQ to use as a task queue for projects that use Celery.
Additionally, work is in progress on a couple more subprojects,
- tequila-cli
- A command-line Ansible wrapper that allows referencing inventories and playbooks in standard locations by more compact names, and allows for some actions that are difficult to do in a single command with standard Ansible.
- tequila-dokku
- A role that sets up a Django project under Dokku, a Docker -powered Platform-as-a-Service.
For projects that have not used Tequila before, check out the project setup documentation. This document also provides helpful hints for projects switching from Margarita.
The playbooks, roles, and code for this project are released under the BSD License. See the LICENSE file for more details.
If you think you've found a bug or are interested in contributing to this project check out tequila on Github.
Development sponsored by Caktus Consulting Group, LLC.