capistrano-atlas 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/atlas/version.rb +1 -1
- data/lib/capistrano/tasks/ssl.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f04b492fbcca8eb42f67eaf3e79b1954372d73a0
|
4
|
+
data.tar.gz: 21b571acac6d90e4f507491cafc3b1c08b816269
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae789129a7d3b74bc7e730efab499a2d595e0aed59ab53dc65c5ef8961c793be6bc35ff653d0a72a985279876c87bfb30233a2755b24d18931b51502633e8bf0
|
7
|
+
data.tar.gz: b4f4cdc1a403d72264e132b1805b82b5155a03b724c1196e191d09a48150e8bcdf600404d422f43c6ae070f626dcb8bf563e697910ebf15b222e2f070fe51ce2
|
@@ -10,7 +10,7 @@ namespace :atlas do
|
|
10
10
|
privileged_on roles(:web) do
|
11
11
|
unless test("sudo [ -f /etc/ssl/#{application_basename}.crt ]")
|
12
12
|
execute :sudo, "mkdir -p /opt/certbot"
|
13
|
-
execute :sudo, "
|
13
|
+
execute :sudo, "wget https://dl.eff.org/certbot-auto -O /opt/certbot/certbot-auto && chmod a+x /opt/certbot/certbot-auto"
|
14
14
|
execute :sudo, "/opt/certbot/certbot-auto certonly --agree-tos "\
|
15
15
|
"--email #{fetch(:atlas_lets_encrypt_email)} --webroot "\
|
16
16
|
"-w #{current_path}/public "\
|