Added cronjob for certbot renewals

This commit is contained in:
Ubergeek 2019-01-29 23:47:02 +00:00
parent ca5b6bd939
commit 70e35f6d13
2 changed files with 11 additions and 2 deletions

View File

@ -0,0 +1,3 @@
#!/bin/bash
/usr/bin/certbot renew

View File

@ -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