-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
107 lines (106 loc) · 2.95 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
enketo_user: "enketo"
enketo_home: "/home/{{ enketo_user }}"
enketo_group: "www-data"
enketo_install_redis: true
enketo_redis_user: "redis"
enketo_redis_bind_address: "127.0.0.1"
enketo_redis_cache_dir: "/var/lib/redis/redis-cache"
enketo_nvm_root: "{{ enketo_home }}/.nvm"
enketo_nvm_version: "v0.39.1"
enketo_node_version: "v14.19.0"
enketo_node_dir: "{{ enketo_nvm_root }}/versions/node/{{ enketo_node_version }}"
enketo_npm_path: "{{ enketo_node_dir }}/bin/npm"
enketo_codebase_path: "{{ enketo_home }}/app"
enketo_versioned_path: "{{ enketo_codebase_path }}-versioned"
enketo_checkout_path: "{{ enketo_versioned_path }}/{{ ansible_date_time['epoch'] }}"
enketo_deploy_key: "/home/ubuntu/.ssh/id_rsa"
enketo_git_url: "https://github.com/enketo/enketo-express.git"
enketo_git_branch: "4.1.1"
enketo_bower_path: "{{ enketo_node_dir }}/bin/bower"
enketo_grunt_path: "{{ enketo_node_dir }}/bin/grunt"
enketo_pm2_path: "{{ enketo_node_dir }}/bin/pm2"
enketo_app_name: "Enketo Smart Paper for Ona"
enketo_app_port: 8005
enketo_onadata_url: "https://api.ona.io"
enketo_managed_by_enketo: "false"
enketo_allow_insecure_transport: "false"
enketo_ona_authentication_url: "{{ enketo_onadata_url }}/api/v1/forms/login.json"
enketo_support_email: "[email protected]"
enketo_widgets:
- note
- select-desktop
- select-mobile
- autocomplete
- geo
- textarea
- url
- table
- radio
- date
- time
- datetime
- select-media
- file
- draw
- rank
- likert
- range
- columns
- image-view
- comment
- image-map
- date-native
- date-native-ios
- date-mobile
- text-max
- text-print
- rating
- thousands-sep
- integer
- decimal
enketo_linked_server_name: "Ona"
enketo_linked_server_url: ""
enketo_timeout: 300000
# first theme is considered the default
enketo_supported_themes:
- formhub
- grid
enketo_disable_save_drafts: "false"
enketo_repeat_ordinals: "false"
enketo_validate_continuously: "false"
enketo_validate_page: "true"
enketo_enable_offline: "true"
enketo_redis_main_host: "127.0.0.1"
enketo_redis_main_port: 6379
enketo_redis_main_password: "null"
enketo_redis_cache_host: "127.0.0.1"
enketo_redis_cache_port: 6379
enketo_redis_cache_password: "null"
enketo_maps:
- name: "street"
tiles:
- https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
attribution: "Map data © <a href='http://openstreetmap.org'>OpenStreetMap</a> contributors"
enketo_google_analytics_ua: ""
enketo_google_analytics_domain: ""
enketo_google_api_key: ""
enketo_piwik_anaytics_tracker_url: ""
enketo_piwik_anaytics_site_id: ""
enketo_logo_source: "{{ lookup('file', 'defaults/logo-source.txt') }}"
enketo_logo_href: ""
enketo_enable_ssl: true
enketo_grunt_cli_version: "1.2.0"
enketo_bower_version: "1.8.4"
enketo_mocha_version: "5.2.0"
enketo_pm2_version: "2.10.4"
enketo_init_system: "upstart"
enketo_enable_submission_logging: false
enketo_api_salt: ""
enketo_api_token: ""
test: false
ip_filtering:
allowPrivateIPAddress: false
allowMetaIPAddress: false
allowIPAddressList: [] # ["10.2.2.2"]
denyIPAddressList: [] # ["{{variable_with_ip}}"]