summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--defaults/main.yml2
-rw-r--r--tasks/main.yml2
-rw-r--r--vars/main.yml5
3 files changed, 5 insertions, 4 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index e5d061a..ce3dd06 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -1,8 +1,6 @@
---
# defaults file for MicroJoe.staticwebsite
-nginx_root: "/var/www/{{ nginx_domain }}/"
-nginx_filename: "static-{{ nginx_domain }}"
nginx_rewrite_html: false
nginx_customize: ""
nginx_auth_file: ""
diff --git a/tasks/main.yml b/tasks/main.yml
index f32b490..cf66cb4 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -20,7 +20,7 @@
owner: "{{ upload_user }}"
group: "{{ upload_group }}"
-- name: Make sure root directory exists
+- name: Make sure root directory {{ nginx_root }} exists
file:
path: "{{ nginx_root }}"
state: directory
diff --git a/vars/main.yml b/vars/main.yml
index 71c6dd9..7d4fb5f 100644
--- a/vars/main.yml
+++ b/vars/main.yml
@@ -1,2 +1,5 @@
---
-# vars file for MicroJoe.staticwebsite \ No newline at end of file
+# vars file for MicroJoe.staticwebsite
+
+nginx_root: "/var/www/{{ nginx_domain }}/"
+nginx_filename: "static-{{ nginx_domain }}"