magic_recipes_two 0.0.62 → 0.0.63
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
M2E5NWNiMzc4MTI2NjYwYTgxMDdmNTUyNDhhYjg1ZTcwMzkzMGM3YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDY0MjdlMjFmZWZjMjc0YmExOTU2NTMzZGUxM2ZlNWZiY2MxNmUyNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODQwN2RkNWVhYzQxNDgxMzE4NmZmOGZmMDkwYzdiOTE2MTNjNjU3YWExNjIx
|
10
|
+
YTIxMDdkNzY1YTkwY2UwMjg2YjdhZjM3ZDcxNGRjZGMzMWIzN2Q3MDI3ZTMw
|
11
|
+
OTlkMDY0ZDIxMDU0NDhjOWExYjMxNjVhMjk2OWVlNTRjMDdlZWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDIwZGIyZjk4YTNjNmI3YThiNWExMjBjY2E0MGMyOGUzNzk2OGU0OTA1MWM0
|
14
|
+
NTRlYzg0YWVlNDJkZjU0MWQ5ZjQxODc4ZTQ5MDBiOWY0NGVlYTAxZTY3Mzc4
|
15
|
+
OWVlMDlhNmNlOWI4Zjk4YzYxYzEwNGRkYjgzYTkzOTFiMWIwNWI=
|
@@ -10,6 +10,7 @@ namespace :load do
|
|
10
10
|
set :lets_encrypt_renew_hour1, -> { "0" }
|
11
11
|
set :lets_encrypt_renew_hour2, -> { "12" }
|
12
12
|
set :lets_encrypt_cron_log, -> { "#{shared_path}/log/lets_encrypt_cron.log" }
|
13
|
+
set :lets_encrypt_email, -> { "ssl@example.com" }
|
13
14
|
end
|
14
15
|
end
|
15
16
|
|
@@ -30,7 +31,7 @@ namespace :lets_encrypt do
|
|
30
31
|
task :certonly do
|
31
32
|
on release_roles fetch(:lets_encrypt_roles) do
|
32
33
|
# execute "./certbot-auto certonly --webroot -w /var/www/example -d example.com -d www.example.com -w /var/www/thing -d thing.is -d m.thing.is"
|
33
|
-
execute :sudo, "#{ fetch(:lets_encrypt_path) }/certbot-auto --non-interactive certonly --webroot -w #{current_path}/public #{ Array(fetch(:lets_encrypt_domains)).map{ |d| "-d #{d.gsub(/^\*?\./, "")} -d www.#{d.gsub(/^\*?\./, "")}" }.join(" ") }"
|
34
|
+
execute :sudo, "#{ fetch(:lets_encrypt_path) }/certbot-auto --non-interactive --agree-tos --email #{fetch(:lets_encrypt_email)} certonly --webroot -w #{current_path}/public #{ Array(fetch(:lets_encrypt_domains)).map{ |d| "-d #{d.gsub(/^\*?\./, "")} -d www.#{d.gsub(/^\*?\./, "")}" }.join(" ") }"
|
34
35
|
end
|
35
36
|
end
|
36
37
|
|