From 02a82c671fafbabbc74b2895e284b170e7086d66 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 21 Sep 2019 22:31:37 +0800 Subject: web: Only create the basic site for ACME --- roles/web/tasks/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'roles') 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: -- cgit v1.2.2