diff --git a/bootstrap.yml b/bootstrap.yml
index b1453770c984d40ce2b1d20a7044e566b3f9cb6b..44fe74f1e3a73042a3366aa98d40caf5b78ce148 100644
--- a/bootstrap.yml
+++ b/bootstrap.yml
@@ -23,3 +23,5 @@
   tasks:
     - name: Create proxy config
       import_tasks: tasks/webserver.yml
+    - name: import certbot config
+      import_tasks: tasks/letsencrypt.yml
diff --git a/tasks/webserver.yml b/tasks/webserver.yml
index 052b936060b8204eac818f4fc33ef7df6d491a1b..9ec5ce8d447b78bfd6cd7076265c28bc7c0bc05c 100644
--- a/tasks/webserver.yml
+++ b/tasks/webserver.yml
@@ -30,6 +30,3 @@
     group: www-data
     mode: 0644
     force: yes
-
-- name: import certbot config
-  import_tasks: letsencrypt.yml