Skip to content

Commit

Permalink
Merge pull request #123 from GlobalDataverseCommunityConsortium/122_c…
Browse files Browse the repository at this point in the history
…ertbot_autorenew

auto-renew certs when specified
  • Loading branch information
donsizemore authored Feb 20, 2021
2 parents 8490e98 + 855696a commit 048d667
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasks/certbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@
name: httpd
state: started
when: not letsencrypt_cert.stat.exists

- name: automatically renew certs
service:
name: certbot-renew.timer
state: started
enabled: yes
when: letsencrpyt.certbot.autonew == true

0 comments on commit 048d667

Please sign in to comment.