CU-cunmht split ssl from http role to separate role

This commit is contained in:
Bastian de Byl
2020-09-29 21:40:01 -04:00
parent 89c2aff635
commit 137ddaca97
9 changed files with 57 additions and 63 deletions

View File

@@ -0,0 +1,10 @@
---
- name: renew certbot ssl certificates weekly
become: true
cron:
name: certbot_renew
special_time: weekly
job: |
certbot renew --pre-hook "systemctl stop nginx" \
--post-hook "systemctl start nginx"
tags: cron