Commit 4db20f7c by John Jarvis

setting owner and group to syslog for log dir

parent 7348868c
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
path={{ edxapp_log_dir }}/cms path={{ edxapp_log_dir }}/cms
state=directory state=directory
owner={{ common_log_user }} owner={{ common_log_user }}
group={{ common_log_user }}
mode=0750 mode=0750
tags: tags:
- deploy - deploy
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
path={{ edxapp_log_dir }}/lms-preview path={{ edxapp_log_dir }}/lms-preview
state=directory state=directory
owner={{ common_log_user }} owner={{ common_log_user }}
group={{ common_log_user }}
mode=0750 mode=0750
tags: tags:
- deploy - deploy
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
file: > file: >
path={{ edxapp_log_dir }}/lms path={{ edxapp_log_dir }}/lms
state=directory state=directory
owner=syslog owner={{ common_log_user }}
group={{ common_log_user }} group={{ common_log_user }}
mode=0750 mode=0750
tags: tags:
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
path="{{ edxapp_log_dir }}" path="{{ edxapp_log_dir }}"
state=directory state=directory
owner="{{ common_log_user }}" owner="{{ common_log_user }}"
group="{{ common_log_user }}"
notify: common | restart logrotate notify: common | restart logrotate
- name: edxapp | create edxapp writable dirs - name: edxapp | create edxapp writable dirs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment