summaryrefslogtreecommitdiffstats
path: root/roles/nginx/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/tasks/main.yml')
-rw-r--r--roles/nginx/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/nginx/tasks/main.yml b/roles/nginx/tasks/main.yml
index fe468de..797f6a4 100644
--- a/roles/nginx/tasks/main.yml
+++ b/roles/nginx/tasks/main.yml
@@ -35,6 +35,14 @@
notify:
- restart nginx
+- name: Ensure about snippets directory
+ file:
+ path: /etc/nginx/snippets
+ state: directory
+ owner: root
+ group: root
+ mode: 0755
+
- name: Deploy snippets
template:
src: "snippets/{{ item }}.j2"