xppl/ansible/plays/setup.yml

15 lines
506 B
YAML

---
# Setup all necessary infrastructure for the project.
# Install the project and get it running under supervisor.
- hosts: all
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