Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Ansible role for installing and launching bnet-auth-service instance on Debian-based server.

License

Notifications You must be signed in to change notification settings

lwojcik/ansible-role-bnet-auth-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-bnet-auth-service

This is an Ansible role for bnet-auth-service v1.

Ansible role for installing and launching bnet-auth-service instance on Debian-based server.

Requires Nginx, Redis, Node.js and pm2 installed on the server. It does not install them automatically.

It builds the app from Git repository and generates backup of the previous deployment if available.

Variables

Variable name Sample value Description
bas_deploy_directory /home/deploy/bnet-auth-service Directory used to deploy project
bas_backup_directory /home/deploy/backups/bnet-auth-service Directory used to generate backups of previous deployments as tgz files
BAS_NODE_ENV production Environment type
BAS_NODE_HOST localhost Project host
BAS_NODE_PORT 8888 Project port
BAS_REDIS_ENABLE true Enable / disable Redis cache
BAS_REDIS_HOST 127.0.0.1 URL of Redis instance used to store cached data
BAS_REDIS_PORT 6379 Port of Redis instance used to store cached data
BAS_REDIS_PASSWORD some_password Redis password
BAS_REDIS_TTL 999999 Expiration time of Redis-stored keys
BAS_REDIS_DB 0 Id of Redis database
BAS_REDIS_CACHE_SEGMENT bnet-token Name of Redis cache segment used by the project
BAS_BATTLENET_REGION us Battle.net API region to get data from
BAS_BATTLENET_KEY some_key Battle.net client key
BAS_BATTLENET_SECRET some_secret Battle.net client secret

About

Ansible role for installing and launching bnet-auth-service instance on Debian-based server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published