Added cronjob for certbot renewals
This commit is contained in:
parent
ca5b6bd939
commit
70e35f6d13
|
@ -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
|
||||
|
@ -102,4 +108,4 @@
|
|||
#- name: Deploy Apache2 Module Config php7.0.conf
|
||||
# copy:
|
||||
# src: ../files/etc/apache2/mods-available/php7.0.conf
|
||||
# dest: /etc/apache2/mods-available/php7.0.conf
|
||||
# dest: /etc/apache2/mods-available/php7.0.conf
|
||||
|
|
Loading…
Reference in New Issue