Implemented working version of drone w/nginx https
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
---
|
||||
- cron: renew certbot ssl certificate weekly
|
||||
- name: renew certbot ssl certificates weekly
|
||||
become: true
|
||||
cron:
|
||||
name: ci_bdebyl_net_renewal
|
||||
name: certbot_renew
|
||||
special_time: weekly
|
||||
job: |
|
||||
certbot --renew certonly --webroot --webroot-path=/srv/http \
|
||||
-m {{ ci_server_email }} --agree-tos \
|
||||
-d {{ ci_server_name }}
|
||||
tags: never
|
||||
certbot renew --pre-hook "systemctl stop nginx" --post-hook "systemctl start nginx"
|
||||
tags: cron
|
||||
|
||||
@@ -2,3 +2,4 @@
|
||||
- import_tasks: deps.yml
|
||||
- import_tasks: http.yml
|
||||
- import_tasks: ssl.yml
|
||||
- import_tasks: cron.yml
|
||||
|
||||
Reference in New Issue
Block a user