Commit 4e8c8fb 1 parent a6e0272 commit 4e8c8fb Copy full SHA for 4e8c8fb
File tree 1 file changed +6
-12
lines changed
1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 14
14
path : " {{ react_local_checkout_path }}"
15
15
production : false
16
16
delegate_to : localhost
17
- become : true
18
- become_user : " {{ react_local_user }}"
17
+ become : false
19
18
20
19
- name : Build app locally
21
- become_user : " {{ react_local_user }}"
22
- become : true
20
+ become : false
23
21
delegate_to : localhost
24
22
environment : " {{ item.env | default(react_build_cmds_default_env) }}"
25
23
command : " yarn {{ item.cmd | default(react_build_default_cmd) }} {{ item.args | default() }}"
37
35
chdir : " {{ react_local_checkout_path }}"
38
36
ignore_errors : true
39
37
delegate_to : localhost
40
- become : true
41
- become_user : " {{ react_local_user }}"
38
+ become : false
42
39
43
40
- name : remove node_modules manually
44
41
file :
45
42
path : " {{ react_local_checkout_path }}/node_modules"
46
43
state : absent
47
44
delegate_to : localhost
48
- become : true
49
- become_user : " {{ react_local_user }}"
45
+ become : false
50
46
51
47
- name : Compress Build folder locally
52
48
archive :
53
49
path : " {{ react_local_checkout_path }}/"
54
50
dest : " {{ react_local_checkout_path }}.tgz"
55
51
delegate_to : localhost
56
- become : true
57
- become_user : " {{ react_local_user }}"
52
+ become : false
58
53
59
54
- name : UnCompress Build folder to remote host
60
55
unarchive :
61
56
src : " {{ react_local_checkout_path }}.tgz"
62
57
dest : " {{ react_checkout_path }}"
63
- become : true
64
- become_user : " {{ react_system_user }}"
58
+ become : false
65
59
when : " not react_remote_js_build|bool"
66
60
67
61
- name : configure build remotely
You can’t perform that action at this time.
0 commit comments