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
f8b810d9
Commit
f8b810d9
authored
May 08, 2013
by
Jason Bau
Committed by
Joe Blaylock
May 09, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
6c0a12b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
playbooks/roles/common/tasks/main.yml
+3
-2
playbooks/roles/lms/tasks/main.yml
+6
-5
No files found.
playbooks/roles/common/tasks/main.yml
View file @
f8b810d9
...
...
@@ -12,8 +12,9 @@
-
pre_install
-
name
:
Create data dir
file
:
path=$app_base_dir state=directory owner=root group=root
sudo
:
True
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
...
...
playbooks/roles/lms/tasks/main.yml
View file @
f8b810d9
...
...
@@ -18,11 +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
:
Make correct permissions on data dir
file
:
path=$app_base_dir state=directory owner=www-data group=www-data
sudo
:
True
-
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