aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/web/tasks/main.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/web/tasks/main.yml b/roles/web/tasks/main.yml
index 4665ef5..7c7b88f 100644
--- a/roles/web/tasks/main.yml
+++ b/roles/web/tasks/main.yml
@@ -37,8 +37,10 @@
path: /usr/local/etc/nginx/sites
state: directory
-- name: nginx - generate sites
- include_tasks: nginx-gensites.yml
+- name: nginx - generate basic site for ACME
+ template:
+ src: sites/00-acme-httpredirect.conf.j2
+ dest: /usr/local/etc/nginx/sites/00-acme-httpredirect.conf
- name: nginx - copy nginx.conf
copy: