From 4a5d319a176e9f825a68fa3d62f1e42ab17f5b38 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 29 Jul 2018 09:28:12 -0500 Subject: [PATCH] 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). --- roles/certbot/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/certbot/tasks/main.yml b/roles/certbot/tasks/main.yml index 58f391e..4bba249 100644 --- a/roles/certbot/tasks/main.yml +++ b/roles/certbot/tasks/main.yml @@ -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