aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Cholewiński <harry666t@gmail.com>2016-02-16 22:06:32 +0100
committerKamil Cholewiński <harry666t@gmail.com>2016-02-16 22:06:32 +0100
commit6fe29c19c172c636703783d69eecca744f6170d0 (patch)
treea146171d46271f9a59b2c14bc93682f8f392629f
parent648132d663a0e09264c7050ba59ac3281bce8110 (diff)
downloadcookbook-6fe29c19c172c636703783d69eecca744f6170d0.zip
cookbook-6fe29c19c172c636703783d69eecca744f6170d0.tar.gz
cookbook-6fe29c19c172c636703783d69eecca744f6170d0.tar.bz2
Create /var/log/nginx
-rw-r--r--roles/nginx/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/nginx/tasks/main.yml b/roles/nginx/tasks/main.yml
index c5ab447..fe88bc4 100644
--- a/roles/nginx/tasks/main.yml
+++ b/roles/nginx/tasks/main.yml
@@ -34,6 +34,7 @@
with_items:
- { path: /etc/nginx/conf.d }
- { path: /etc/nginx/htpasswd, mode: "0710", group: "{{ httpd.user }}" }
+ - { path: /var/log/nginx, mode: "0750", owner: "{{ httpd.user }}" }
tags: install
- name: Configure nginx