Move certificates to files/ and use a wildcard certificate

This commit is contained in:
waffles
2023-02-24 00:12:47 -08:00
parent c2834556b5
commit 3b34ee8ee5
2 changed files with 10 additions and 12 deletions
+2 -4
View File
@@ -1,7 +1,5 @@
roles/mastodon/vars/main.yml
host_vars/
group_vars/
roles/frontend/templates/cdn.fullchain.pem
roles/frontend/templates/cdn.privkey.pem
roles/frontend/templates/domain.fullchain.pem
roles/frontend/templates/domain.privkey.pem
roles/frontend/files/wildcard.fullchain.pem
roles/frontend/files/wildcard.privkey.pem
+8 -8
View File
@@ -67,29 +67,29 @@
- install
- name: Install mastodon domain SSL certificate
template:
src: domain.fullchain.pem
copy:
src: wildcard.fullchain.pem
dest: /etc/nginx/ssl/domain.fullchain.pem
tags:
- install
- name: Install mastodon domain ssl key
template:
src: domain.privkey.pem
copy:
src: wildcard.privkey.pem
dest: /etc/nginx/ssl/domain.privkey.pem
tags:
- install
- name: Install mastodon CDN SSL certificate
template:
src: cdn.fullchain.pem
copy:
src: wildcard.fullchain.pem
dest: /etc/nginx/ssl/cdn.fullchain.pem
tags:
- install
- name: Install mastodon CDN ssl key
template:
src: cdn.privkey.pem
copy:
src: wildcard.privkey.pem
dest: /etc/nginx/ssl/cdn.privkey.pem
tags:
- install