xppl/ansible/plays/setup.yml
Luke Murphy fc393a3d5f
Separate Ansible world into setup and deployment.
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.
2018-12-15 00:03:27 +00:00

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