diff --git a/roles/httpd/tasks/html.yml b/roles/httpd/tasks/html.yml
index 827d5729e..1ea7d920a 100644
--- a/roles/httpd/tasks/html.yml
+++ b/roles/httpd/tasks/html.yml
@@ -1,4 +1,4 @@
-- name: Copy css files to /library/www/html/common/css
+- name: Copy css files to {{ doc_root }}/common/css # doc_root is /library/www/html
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/css"
@@ -8,7 +8,7 @@
with_fileglob:
- html/css/*.css
-- name: Copy js files to /library/www/html/common/js
+- name: Copy js files to {{ doc_root }}/common/js # doc_root is /library/www/html
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/js"
@@ -18,7 +18,7 @@
with_fileglob:
- html/js/*.js
-- name: Copy fonts files to /library/www/html/common/fonts
+- name: Copy fonts files to {{ doc_root }}/common/fonts # doc_root is /library/www/html
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/fonts"
@@ -28,7 +28,7 @@
with_fileglob:
- html/fonts/*
-- name: Copy html files to /library/www/html/common/html
+- name: Copy html files to {{ doc_root }}/common/html # doc_root is /library/www/html
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/html"
@@ -38,7 +38,7 @@
with_fileglob:
- html/html/*
-- name: Copy assets files to /library/www/html/common/assets
+- name: Copy assets files to {{ doc_root }}/common/assets # doc_root is /library/www/html
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/assets"
@@ -49,7 +49,7 @@
- html/assets/*
# copy all services, even if not permissioned elsewhere
-- name: Copy services files to /library/www/html/common/services
+- name: Copy services files to {{ doc_root }}/common/services # doc_root is /library/www/html
copy:
src: "{{ item }}"
dest: "{{ doc_root }}/common/services"
@@ -59,10 +59,10 @@
with_fileglob:
- html/services/*
-- name: Create symlink from /library/www/html/common/assets/iiab.ini to {{ iiab_ini_file }}
+- name: Symlink {{ doc_root }}/common/assets/iiab.ini to {{ iiab_ini_file }} # doc_root is /library/www/html
file:
src: "{{ iiab_ini_file }}"
- dest: "{{ doc_root }}/common/assets/iiab.ini"
+ path: "{{ doc_root }}/common/assets/iiab.ini"
owner: root
group: root
state: link