mirror of https://github.com/Aidaho12/haproxy-wi
v4.5.6.0
parent
669794a5a8
commit
4a6e1aa4d6
|
@ -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…
Reference in New Issue