Skip to content

brewmajsters/ansible-role-brewmaster-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brewmaster-backend

Build Status

Download and install brewmajsters/brewmaster-backend with setup systemd service for flask server.

Requirements

setup TimescaleDB instance accessible on 5432/tcp

Role Variables

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>

Dependencies

None

Example Playbook

- 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

License

None

Author Information

Tomas Bellus