roles/certbot: Reload Apache before cert requests

The Apache service needs to be reloaded after the *certbot* role
configures it to serve the `/.well-known/acme-challenge` path, so that
the changes can take effect before the `certbot` command is run to
request the certificate(s).
jenkins-master
Dustin 2018-07-29 09:28:12 -05:00
parent 9f5f692b6a
commit 4a5d319a17
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@
dest=/etc/httpd/conf.d/certbot.conf
mode=0644
notify: reload httpd
- meta: flush_handlers
- name: ensure letsencrypt account data are installed
become: true