From 4a6e1aa4d6a5da22ce69f774b9a33c4b35ce6081 Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Sun, 27 Dec 2020 10:57:09 +0600 Subject: [PATCH] v4.5.6.0 --- app/scripts/ansible/roles/letsencrypt.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/scripts/ansible/roles/letsencrypt.yml b/app/scripts/ansible/roles/letsencrypt.yml index a6a7146..fe7f394 100644 --- a/app/scripts/ansible/roles/letsencrypt.yml +++ b/app/scripts/ansible/roles/letsencrypt.yml @@ -29,11 +29,11 @@ failed_when: false no_log: True -# - name: Get cert -# command: certbot certonly --standalone -d "{{DOMAIN}}" --non-interactive --agree-tos --email "{{EMAIL}}" --http-01-port=8888 + - name: Get cert + command: certbot certonly --standalone -d "{{DOMAIN}}" --non-interactive --agree-tos --email "{{EMAIL}}" --http-01-port=8888 - name: Combine into pem file - shell: cat /etc/letsencrypt/live/"{{DOMAIN}}"/fullchain.pem /etc/letsencrypt/live/"{{DOMAIN}}"/privkey.pem > "{{SSL_PATH}}"/"{{DOMAIN}}".pem + shell: cat /etc/letsencrypt/live/{{DOMAIN}}/fullchain.pem /etc/letsencrypt/live/{{DOMAIN}}/privkey.pem > "{{SSL_PATH}}"/"{{DOMAIN}}".pem - name: Copy renew script template: @@ -45,4 +45,4 @@ cron: name: "Let's encrypt renew script" special_time: "monthly" - job: '/etc/haproxy/renew_letsencrypt.sh' \ No newline at end of file + job: '/etc/haproxy/renew_letsencrypt.sh'