Use cert called office.

This commit is contained in:
Hyperling 2021-02-20 09:35:57 -06:00
parent a40a1e73f1
commit deebbac89d

View File

@ -59,11 +59,11 @@
# Certs # # Certs #
- name: Server | OnlyOffice | HTTPS | Check For Cert - name: Server | OnlyOffice | HTTPS | Check For Cert
shell: ls -l /etc/letsencrypt/live/docs.hyperling.com/{fullchain,privkey}.pem shell: ls -l /etc/letsencrypt/live/office.hyperling.com/{fullchain,privkey}.pem
register: onlyoffice_cert register: onlyoffice_cert
- name: Server | OnlyOffice | HTTPS | Create Cert - name: Server | OnlyOffice | HTTPS | Create Cert
shell: certbot --nginx -d docs.hyperling.com shell: certbot --nginx -d office.hyperling.com
when: onlyoffice_cert.failed when: onlyoffice_cert.failed
# Config # # Config #
@ -85,8 +85,8 @@
# create: no # create: no
# backup: yes # backup: yes
# loop: # loop:
# - { "regexp": "ssl_certificate ", "line": " ssl_certificate /etc/letsencrypt/live/docs.hyperling.com/fullchain.pem" } # - { "regexp": "ssl_certificate ", "line": " ssl_certificate /etc/letsencrypt/live/office.hyperling.com/fullchain.pem" }
# - { "regexp": "ssl_certificate_key ", "line": " ssl_certificate_key /etc/letsencrypt/live/docs.hyperling.com/privkey.pem" } # - { "regexp": "ssl_certificate_key ", "line": " ssl_certificate_key /etc/letsencrypt/live/office.hyperling.com/privkey.pem" }
# Services # # Services #