From 75fe5f620d222bf93993bff9c6b9d012adafc42b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Fri, 12 Aug 2016 14:16:54 +0200 Subject: nginx: Be prepared to less cool systems --- roles/nginx/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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" -- cgit v1.2.3