File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 15
15
version : " {{ app_version }}"
16
16
dest : " {{ app_directory }}"
17
17
accept_hostkey : true
18
- force : yes
18
+ force : true
19
19
register : app_updated
20
20
notify : restart nginx
21
+ become : true
22
+ become_user : " {{ app_user }}"
21
23
22
24
- name : Ensure secrets file is present.
23
25
template :
Original file line number Diff line number Diff line change 19
19
- libreadline-dev
20
20
- tzdata
21
21
state : present
22
-
23
- - name : Ensure app directory exists and is writeable.
24
- file :
25
- path : " {{ app_directory }}"
26
- state : directory
27
- owner : " {{ app_user }}"
28
- group : " {{ app_user }}"
29
- mode : 0755
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ passenger_ruby: /usr/local/bin/ruby
18
18
19
19
# Variables for Ruby installation.
20
20
ruby_install_from_source : true
21
- ruby_download_url : https://cache.ruby-lang.org/pub/ruby/2.6 /ruby-2.6.0 .tar.gz
22
- ruby_version : 2.6.0
21
+ ruby_download_url : https://cache.ruby-lang.org/pub/ruby/2.7 /ruby-2.7.6 .tar.gz
22
+ ruby_version : 2.7.6
23
23
24
24
# Variables for Node.js installation.
25
25
nodejs_install_npm_user : root
You can’t perform that action at this time.
0 commit comments