From 607e7b6091ef50bef26fb9c8ca464cbcb219404c Mon Sep 17 00:00:00 2001 From: "Philip (a-0)" <@ph:a-0.me> Date: Fri, 22 Jul 2022 00:55:03 +0200 Subject: [PATCH] Explicitly create certbot directory --- tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index aac8c62..08519ff 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -27,6 +27,11 @@ - certbot update_cache: yes +- name: Ensure certbot dir exists + file: + path: "{{ certbot_renewal_scripts_path }}" + state: directory + - name: Set renewal script if desired copy: content: "{{ certbot_post_renewal_script }}"