mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-08-25 01:05:36 +02:00
Webroot: allow to set default webroot path, overwritten by per-cert path
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user