pull/260/head
Pavel Loginov 4 years ago committed by GitHub
parent 669794a5a8
commit 4a6e1aa4d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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'
job: '/etc/haproxy/renew_letsencrypt.sh'

Loading…
Cancel
Save