Make sure LE config is correct for renewals.
This commit is contained in:
parent
859c35f0a8
commit
999a959987
2
roles/mastodon-nginx/files/cli.ini
Normal file
2
roles/mastodon-nginx/files/cli.ini
Normal file
@ -0,0 +1,2 @@
|
||||
authenticator = webroot
|
||||
webroot-path = /home/mastodon/live/public/
|
@ -24,6 +24,14 @@
|
||||
src: letsencrypt-renew.sh
|
||||
dest: /etc/cron.daily/letsencrypt-renew.sh
|
||||
mode: 0700
|
||||
- name: Make Let's Encrypt configuration directory
|
||||
file:
|
||||
dest: /root/.config/letsencrypt
|
||||
state: directory
|
||||
- name: Copy Let's Encrypt configuration file
|
||||
copy:
|
||||
src: cli.ini
|
||||
dest: /root/.config/letsencrypt/cli.ini
|
||||
- name: Run nginx install tasks
|
||||
include_tasks: install.yml
|
||||
when: install is defined
|
||||
|
Loading…
Reference in New Issue
Block a user