2018-11-17 21:39:21 +01:00
|
|
|
---
|
|
|
|
|
2018-12-15 12:39:39 +01:00
|
|
|
# Setup all necessary infrastructure for the project.
|
|
|
|
# Install the project and get it running under supervisor.
|
|
|
|
|
|
|
|
- hosts: all
|
2018-11-17 21:39:21 +01:00
|
|
|
roles:
|
2018-11-18 18:33:40 +01:00
|
|
|
- role: perms # Setup users and groups
|
|
|
|
- role: git # Clone the project source
|
|
|
|
- role: pipenv # Install Python dependencies
|
2018-12-15 01:03:27 +01:00
|
|
|
- role: env # Configure the application environment
|
2018-11-18 18:33:40 +01:00
|
|
|
- role: rqlite # Install RQLite
|
2018-11-18 19:34:00 +01:00
|
|
|
- role: supervisor # Setup managed processes
|
2018-12-15 01:03:27 +01:00
|
|
|
- role: nginx # Setup the Nginx configuration
|