Luke Murphy
fc393a3d5f
This makes it possible to run a deployment as opposed to a 'setup' play where all the necessary prerequisites are arranged on the server. We don't need to do that each time. Closes decentral1se/xppl#4. Might help decentral1se/xppl#2.
12 lines
396 B
YAML
12 lines
396 B
YAML
---
|
|
|
|
- hosts: managed
|
|
roles:
|
|
- role: perms # Setup users and groups
|
|
- role: git # Clone the project source
|
|
- role: pipenv # Install Python dependencies
|
|
- role: env # Configure the application environment
|
|
- role: rqlite # Install RQLite
|
|
- role: supervisor # Setup managed processes
|
|
- role: nginx # Setup the Nginx configuration
|