Download and install brewmajsters/brewmaster-backend with setup systemd service for flask server.
setup TimescaleDB instance accessible on 5432/tcp
Refer to the default variables.
backend_repo_dest: <str, absolute or relative path of github repo destination directory>
backend_repo_version: <str, branch name or commit to clone>
backend_repo_url: <str, url to public backend repository>
backend_develop: <bool, if false (default) the application is install with '--deploy --system' flags>
backend_environments: <dict, environment variables to be modified in '.env' file>
None
- hosts: servers
roles: ansible-role-brewmaster-backend
vars:
backend_repo_dest: realtive/path/to/dest
backend_develop: true
backend_environments:
DATABASE_HOST: 192.168.127.22
None
Tomas Bellus