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
edx
configuration
Commits
94878602
Commit
94878602
authored
May 09, 2013
by
Joe Blaylock
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #48 from edx/jbau/create_datadir
creates /opt/wwc/data
parents
451f3c31
f8b810d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
playbooks/roles/common/tasks/main.yml
+7
-0
playbooks/roles/lms/tasks/main.yml
+6
-0
No files found.
playbooks/roles/common/tasks/main.yml
View file @
94878602
...
...
@@ -5,10 +5,17 @@
file
:
path=$app_base_dir state=directory owner=root group=adm mode=2775
tags
:
-
pre_install
-
name
:
Create upload directory
file
:
path=$app_base_dir/uploads mode=2775 state=directory owner=root group=adm
tags
:
-
pre_install
-
name
:
Create data dir
file
:
path={{ app_base_dir }}/data state=directory owner=root group=root
tags
:
-
pre_install
-
name
:
Create log directory
file
:
path=/mnt/logs state=directory mode=2770 group=adm owner=root
tags
:
...
...
playbooks/roles/lms/tasks/main.yml
View file @
94878602
...
...
@@ -18,6 +18,12 @@
-
include
:
../../nginx/tasks/nginx_site.yml state=link site_name=lms
-
include
:
../../nginx/tasks/nginx_site.yml state=link site_name=lms-backend
-
name
:
Change permissions on datadir
file
:
path={{ app_base_dir }}/data state=directory owner=www-data group=www-data
tags
:
-
cms
-
lms
-
lms-env
# Install ssh keys for ubuntu account to be able to check out from mitx
# Temprory behavior, not needed after June 1. Perhaps still useful as a recipe.
...
...
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