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
507bee86
Commit
507bee86
authored
May 14, 2013
by
Jason Bau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Permission clean ups and also upstart restart handler for cms/lms/preview
parent
5ec8a298
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
12 deletions
+11
-12
playbooks/edxapp_prod.yml
+1
-0
playbooks/roles/cms/tasks/main.yml
+2
-2
playbooks/roles/gunicorn/tasks/upstart.yml
+1
-0
playbooks/roles/gunicorn/templates/cms.conf.j2
+1
-2
playbooks/roles/gunicorn/templates/lms-preview.conf.j2
+1
-2
playbooks/roles/gunicorn/templates/lms.conf.j2
+1
-2
playbooks/roles/lms-preview/tasks/main.yml
+2
-2
playbooks/roles/lms/tasks/main.yml
+2
-2
No files found.
playbooks/edxapp_prod.yml
View file @
507bee86
...
...
@@ -10,6 +10,7 @@
-
gunicorn
-
lms
-
cms
-
lms-preview
-
ruby
-
npm
# run this role last
...
...
playbooks/roles/cms/tasks/main.yml
View file @
507bee86
...
...
@@ -4,13 +4,13 @@
# - nginx/tasks/main.yml
---
-
name
:
create cms application config
template
:
src=env.json.j2 dest=$app_base_dir/cms.env.json mode=64
4
template
:
src=env.json.j2 dest=$app_base_dir/cms.env.json mode=64
0 owner=www-data group=adm
tags
:
-
cms-env
-
cms
-
name
:
create cms auth file
template
:
src=auth.json.j2 dest=$app_base_dir/cms.auth.json mode=64
4
template
:
src=auth.json.j2 dest=$app_base_dir/cms.auth.json mode=64
0 owner=www-data group=adm
tags
:
-
cms-env
-
cms
...
...
playbooks/roles/gunicorn/tasks/upstart.yml
View file @
507bee86
...
...
@@ -6,6 +6,7 @@
-
"
{{
local_dir
}}/gunicorn/templates/{{
service_variant
}}.conf.j2"
# seems like paths in first_available_file must be relative to the playbooks dir
-
"
roles/gunicorn/templates/{{
service_variant
}}.conf.j2"
notify
:
restart {{ service_variant }}
tags
:
-
upstart
-
gunicorn
playbooks/roles/gunicorn/templates/cms.conf.j2
View file @
507bee86
...
...
@@ -17,8 +17,7 @@ env PORT=8010
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE=cms.envs.aws
env SERVICE_VARIANT="cms"
chdir ${app_base_dir}/mitx
setuid www-data
...
...
playbooks/roles/gunicorn/templates/lms-preview.conf.j2
View file @
507bee86
...
...
@@ -17,8 +17,7 @@ env PORT=8020
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE=lms.envs.aws
env SERVICE_VARIANT="lms-preview"
chdir ${app_base_dir}/mitx
setuid www-data
...
...
playbooks/roles/gunicorn/templates/lms.conf.j2
View file @
507bee86
...
...
@@ -17,8 +17,7 @@ env PORT=8000
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE=lms.envs.aws
env SERVICE_VARIANT="lms"
chdir ${app_base_dir}/mitx
setuid www-data
...
...
playbooks/roles/lms-preview/tasks/main.yml
View file @
507bee86
...
...
@@ -4,13 +4,13 @@
# - nginx/tasks/main.yml
---
-
name
:
create lms application config
template
:
src=env.json.j2 dest=$app_base_dir/lms-preview.env.json
template
:
src=env.json.j2 dest=$app_base_dir/lms-preview.env.json
mode=640 owner=www-data group=adm
tags
:
-
lms-preview
-
lms-preview-env
-
name
:
create lms auth file
template
:
src=auth.json.j2 dest=$app_base_dir/lms-preview.auth.json
template
:
src=auth.json.j2 dest=$app_base_dir/lms-preview.auth.json
mode=640 owner=www-data group=adm
tags
:
-
lms-preview
-
lms-preview-env
...
...
playbooks/roles/lms/tasks/main.yml
View file @
507bee86
...
...
@@ -4,13 +4,13 @@
# - nginx/tasks/main.yml
---
-
name
:
create lms application config
template
:
src=env.json.j2 dest=$app_base_dir/lms.env.json
template
:
src=env.json.j2 dest=$app_base_dir/lms.env.json
mode=640 owner=www-data group=adm
tags
:
-
lms
-
lms-env
-
name
:
create lms auth file
template
:
src=auth.json.j2 dest=$app_base_dir/lms.auth.json
template
:
src=auth.json.j2 dest=$app_base_dir/lms.auth.json
mode=640 owner=www-data group=adm
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