diff --git a/tasks/install.yml b/tasks/install.yml index c62a838..6a75385 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -79,7 +79,7 @@ - name: Add custom error page template template: src: usr/share/nginx/html/error.html.j2 - dest: usr/share/nginx/html/error.html + dest: /usr/share/nginx/html/error.html owner: root group: root mode: 0644 diff --git a/templates/usr/error.html.j2 b/templates/usr/share/nginx/html/error.html.j2 similarity index 100% rename from templates/usr/error.html.j2 rename to templates/usr/share/nginx/html/error.html.j2