Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
b252394c
Commit
b252394c
authored
Oct 02, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure users in the syslog group can read the log files.
parent
8e1b4e6b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
playbooks/roles/common/tasks/main.yml
+2
-2
playbooks/roles/edxapp/tasks/cms.yml
+1
-1
playbooks/roles/edxapp/tasks/lms-preview.yml
+1
-1
playbooks/roles/edxapp/tasks/lms.yml
+1
-1
No files found.
playbooks/roles/common/tasks/main.yml
View file @
b252394c
...
...
@@ -43,13 +43,13 @@
-
update
-
name
:
common | Create log directory
file
:
path=
$log_base_dir state=directory mode=2770
group=adm owner=syslog
file
:
path=
{{log_base_dir}} state=directory mode=2755
group=adm owner=syslog
tags
:
-
pre_install
-
update
-
name
:
common | Create alias from app_base_dir to the log_base_dir
file
:
state=link src=
$log_base_dir path=$app_base_dir
/log
file
:
state=link src=
{{log_base_dir}} path={{app_base_dir}}
/log
tags
:
-
pre_install
-
logging
...
...
playbooks/roles/edxapp/tasks/cms.yml
View file @
b252394c
...
...
@@ -24,7 +24,7 @@
when
:
celery_worker is not defined
-
name
:
Create CMS log target directory
file
:
path={{log_base_dir}}/cms state=directory owner=syslog group=
adm mode=277
0
file
:
path={{log_base_dir}}/cms state=directory owner=syslog group=
syslog mode=275
0
tags
:
-
cms
-
cms-env
...
...
playbooks/roles/edxapp/tasks/lms-preview.yml
View file @
b252394c
...
...
@@ -16,7 +16,7 @@
-
lms-preview-env
-
name
:
Create lms-preview log target directory
file
:
path={{log_base_dir}}/lms-preview state=directory owner=syslog group=
adm mode=277
0
file
:
path={{log_base_dir}}/lms-preview state=directory owner=syslog group=
syslog mode=275
0
tags
:
-
lms-preview
-
lms-preview-env
...
...
playbooks/roles/edxapp/tasks/lms.yml
View file @
b252394c
...
...
@@ -14,7 +14,7 @@
-
update
-
name
:
Create lms log target directory
file
:
path={{log_base_dir}}/lms state=directory owner=syslog group=
adm mode=277
0
file
:
path={{log_base_dir}}/lms state=directory owner=syslog group=
syslog mode=275
0
tags
:
-
lms
-
lms-env
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment