From ad70306f094b938a6a2e5e94f323e092b2686f69 Mon Sep 17 00:00:00 2001 From: Chris Scott Date: Mon, 13 Nov 2023 15:54:59 +1300 Subject: [PATCH] update cache before install apache --- roles/pre-checks/letsencrypt-apache2/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/pre-checks/letsencrypt-apache2/tasks/main.yml b/roles/pre-checks/letsencrypt-apache2/tasks/main.yml index 8f9cfae..17786d1 100644 --- a/roles/pre-checks/letsencrypt-apache2/tasks/main.yml +++ b/roles/pre-checks/letsencrypt-apache2/tasks/main.yml @@ -5,6 +5,7 @@ name: - apache2 state: present + update_cache: true become: true - name: Pre-Check Apache2 | Create .well-known/acme-challenge directory @@ -42,4 +43,4 @@ - ssl - headers - rewrite - become: true \ No newline at end of file + become: true