aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-09-21 22:31:37 +0800
committerAaron LI <aly@aaronly.me>2019-09-21 22:31:37 +0800
commit02a82c671fafbabbc74b2895e284b170e7086d66 (patch)
tree01d22c56c1e374ba29413aeb87f39628ec460267
parent5af989627b316d8b8c9928143261ce8e4a084de8 (diff)
downloadansible-dfly-vps-02a82c671fafbabbc74b2895e284b170e7086d66.tar.bz2
web: Only create the basic site for ACME
-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: