1
+ ---
1
2
# user
2
3
react_system_user : " react"
3
4
react_system_group : " www-data"
4
5
react_system_user_home : " /home/{{ react_system_user }}"
6
+ react_local_user_home : " {{ lookup('env', 'HOME') }}"
7
+ react_local_user : " {{ lookup('env','USER') }}"
5
8
6
9
# git
7
10
react_git_url :
8
11
react_git_version : " master"
9
12
react_git_key :
10
13
react_git_key_filename : " id_ed25519"
11
- react_remove_git_key : True
14
+ react_remove_git_key : true
12
15
13
16
# system-wide dependencies
14
- react_system_wide_dependencies :
15
- - git
16
- - nodejs
17
+ react_remote_system_wide_dependencies :
17
18
- yarn
19
+ - git
20
+ react_local_system_wide_dependencies :
21
+ - git
18
22
react_node_version : 10.x
19
23
20
24
# app
25
+ react_remote_js_build : true
26
+ react_local_checkout_path : " /tmp/{{ react_local_user }}/reveal"
21
27
react_env_name : " prod"
22
28
react_app_name : " {{ react_system_user }}"
23
29
react_codebase_path : " {{ react_system_user_home }}/app"
24
30
react_versioned_path : " {{ react_codebase_path }}-versioned"
25
31
react_checkout_path : " {{ react_versioned_path }}/{{ ansible_date_time['epoch'] }}"
26
32
react_app_path : " {{ react_checkout_path }}"
27
33
react_log_path : " /var/log/{{ react_app_name }}"
34
+ react_max_versioned_folders : 10
28
35
29
36
# app settings
30
37
react_app_settings :
31
- REACT_APP_WEBSITE_NAME : ' React Example App'
38
+ REACT_APP_WEBSITE_NAME : ' React Example App'
39
+ GENERATE_SOURCEMAP : " false"
40
+ SKIP_PREFLIGHT_CHECK : " true"
0 commit comments