mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-03-25 21:20:18 +00:00
Added cronjob for certbot renewals
This commit is contained in:
3
roles/webserver/files/certbot-renew
Normal file
3
roles/webserver/files/certbot-renew
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/bin/certbot renew
|
||||
@@ -1,7 +1,13 @@
|
||||
#This play configs apapche for us
|
||||
---
|
||||
##Sites
|
||||
- name: Add certbot cron job
|
||||
copy:
|
||||
src: ../files/certbot-renew
|
||||
dest: /etc/cron.weekly/ansible-pull
|
||||
owner: root
|
||||
mode: 744
|
||||
|
||||
#Sites
|
||||
- name: Deploy Apache2 Site Config 000-default.conf
|
||||
copy:
|
||||
src: ../files/etc/apache2/sites-available/000-default.conf
|
||||
|
||||
Reference in New Issue
Block a user