Provides some common roles and playbooks suitable for web development.
There are 3 provided playbooks, these include:
- Standard
- Vagrant
- Web
- Database
Each of these will run roles conditionally based upon some set variables.
standard.yml
Installs some logical default applications including git, zsh, sqlite, vim, curl, wget.
vagrant.yml
A playbook specifically designed to be used with https://github.com/simoncoulton/vagrant for local development.
web.yml
This playbook is responsible for provisioning all webservers.
database.yml
This playbook is responsible for provisioning all database servers.
The following roles are available:
- apache
- apt
- common (installs commonly used packages)
- git
- mysql
- nginx
- php
- postgresql
- python
- sqlite
- uwsgi
- zsh
There are also some development specific playbooks including:
- mysql-dev
- vagrant
Each role is configured via logical default values, which can be overriden if required. See each roles defaults/main.yml
file for more information.
Each playbook can be executed via ./play [inventory] [playbook]
, for example ./play production web
.