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 }}"