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
dec835e3
Commit
dec835e3
authored
May 08, 2013
by
Jason Bau
Committed by
Joe Blaylock
May 09, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
creates /opt/wwc/data
parent
451f3c31
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletions
+12
-1
playbooks/edxapp_prod.yml
+1
-1
playbooks/roles/common/tasks/main.yml
+6
-0
playbooks/roles/lms/tasks/main.yml
+5
-0
No files found.
playbooks/edxapp_prod.yml
View file @
dec835e3
-
hosts
:
tag_Group_edxapp_prod
-
hosts
:
security_group_edx-prod-EdxappServerSecurityGroup-NSKCQTMZIPQB
sudo
:
True
vars_files
:
-
"
{{
secure_dir
}}/vars/edxapp_prod_vars.yml"
...
...
playbooks/roles/common/tasks/main.yml
View file @
dec835e3
...
...
@@ -5,10 +5,16 @@
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 state=directory owner=root group=root
sudo
:
True
-
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 @
dec835e3
...
...
@@ -18,6 +18,11 @@
-
include
:
../../nginx/tasks/nginx_site.yml state=link site_name=lms
-
include
:
../../nginx/tasks/nginx_site.yml state=link site_name=lms-backend
-
name
:
Make correct permissions on data dir
file
:
path=$app_base_dir state=directory owner=www-data group=www-data
sudo
:
True
# 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