summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-07-30 15:38:24 +0300
committerLars Wirzenius <liw@liw.fi>2018-07-30 15:38:24 +0300
commit2520c525cb4cdbe2596efd63d0cc8e3529ed19a3 (patch)
treec5709d1d5eb42d95f13525f2735f1d889c29398d /roles
parent229cf82dbade76804521c51aab18b92e9fda7d02 (diff)
downloaddebian-ansible-2520c525cb4cdbe2596efd63d0cc8e3529ed19a3.tar.gz
Fix: well-known dir for certbot
Diffstat (limited to 'roles')
-rw-r--r--roles/apache_server/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/apache_server/tasks/main.yml b/roles/apache_server/tasks/main.yml
index bd5db50..c3134b9 100644
--- a/roles/apache_server/tasks/main.yml
+++ b/roles/apache_server/tasks/main.yml
@@ -24,7 +24,7 @@
if [ "{{ item.letsencrypt|default(false) }}" = True ]
then
echo "{{ item.domain }} {{ item.alias|default('') }}" >> "$list"
- mkdir -p "$wellknown"
+ mkdir -p "$wellknown/acme-challenge"
fi
with_items: "{{ static_sites }}"
when: letsencrypt