main.yml 1.85 KB
Newer Older
bow's avatar
bow committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---

# Git branch name, tag name, or commit hash to check out from. #
sentinel_git_checkout: master

# Git repository URL #
sentinel_git_repo: https://github.com/LUMC/sentinel.git

# Whether to deploy in a production environment, which has no debugging output, or not. #
sentinel_production: yes

# Whether to run unit tests before deploying. #
sentinel_unit_tests: no

# Whether to run integration tests before deploying. #
sentinel_integration_tests: no

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Sentinel-specific MongoDB users. #
sentinel_mongodb_user_name: sentinel-api
sentinel_mongodb_user_password: api

sentinel_mongodb_users:
  - database: sentinel
    name: sentinel-owner
    password: owner
    roles: dbOwner
  - database: sentinel
    name: "{{ sentinel_mongodb_user_name }}"
    password: "{{ sentinel_mongodb_user_password }}"
    roles: readWrite

# Sentinel API admin user. #
sentinel_api_users:
  # The default admin user
  - id: dev
    email: dev@sentinel.dev
    password: dev
    active_key: dev
    verified: yes
    is_admin: yes
bow's avatar
bow committed
41
42
43
44

# Directory for storing Sentinel-related files. #
sentinel_dir: /opt/sentinel

45
46
47
# Script for creating Sentinel database index. #
sentinel_mongodb_js_script: "dbIndexSetup.js"

48
49
50
# Path for all deployments. #
sentinel_deployments_dir: "{{ sentinel_dir }}/deployments"

bow's avatar
bow committed
51
52
# Real path for current deployment. #
sentinel_deployment_dir: "{{ sentinel_deployments_dir }}/checkout-{{ sentinel_git_checkout }}"
bow's avatar
bow committed
53
54

# Directory for git checkouts. #
bow's avatar
bow committed
55
sentinel_checkout_dir: "{{ sentinel_dir }}/src"
56
57
58
59
60
61
62
63
64

# Directory for nginx. #
sentinel_nginx_dir: /var/www/html

# Directory for static sphinx documentation. #
sentinel_nginx_sphinx_dir: "{{ sentinel_nginx_dir }}/guide"

# Directory for static scaladoc documentation. #
sentinel_nginx_scaladoc_dir: "{{ sentinel_nginx_dir }}/scaladoc"
bow's avatar
bow committed
65
66
67
68
69
70

# Host machine user account. #
sentinel_user: sentinel

# Host machine user group. #
sentinel_group: sentinel