Webroot: allow to set default webroot path, overwritten by per-cert path

This commit is contained in:
Simon Spannagel
2021-11-22 07:25:31 +01:00
parent b37af73500
commit e1013946c5
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
- name: Create webroot directory if it doesn't exist yet
file:
path: "{{ cert_item.webroot }}"
path: "{{ cert_item.webroot | default(certbot_webroot) }}"
state: directory
- name: Generate new certificate if one doesn't exist.