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
9ce6103e
Commit
9ce6103e
authored
Oct 21, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding edxapp tag for task, changing perms for edxapp dirs
parent
0235a6f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
playbooks/roles/edxapp/tasks/deploy.yml
+1
-1
playbooks/roles/edxapp/tasks/main.yml
+13
-3
No files found.
playbooks/roles/edxapp/tasks/deploy.yml
View file @
9ce6103e
...
...
@@ -174,7 +174,7 @@
tags
:
-
deploy
-
name
:
db migrate
-
name
:
edxapp |
db migrate
shell
:
sudo -u {{ edxapp_user }} SERVICE_VARIANT=lms {{ edxapp_venv_bin }}/django-admin.py migrate --noinput --settings=lms.envs.aws --pythonpath={{ edxapp_code_dir }}
when
:
migrate_only is defined and migrate_only|lower == "yes"
tags
:
...
...
playbooks/roles/edxapp/tasks/main.yml
View file @
9ce6103e
...
...
@@ -22,16 +22,26 @@
owner="{{ common_log_user }}"
notify
:
common | restart logrotate
-
name
:
edxapp | create edxapp
data
dirs
-
name
:
edxapp | create edxapp
writable
dirs
file
:
>
path="{{ item }}"
state=directory
owner="{{
common_web
_user }}"
owner="{{
edxapp
_user }}"
with_items
:
-
"
{{
edxapp_staticfile_dir
}}"
-
"
{{
edxapp_theme_dir
}}"
-
name
:
edxapp | create web-writable edxapp data dirs
file
:
>
path="{{ item }}"
state=directory
owner="{{ common_web_user }}"
group="{{ edxapp_user }}"
mode="0775"
with_items
:
-
"
{{
edxapp_course_data_dir
}}"
-
"
{{
edxapp_upload_dir
}}"
-
"
{{
edxapp_theme_dir
}}"
-
name
:
edxapp | install system packages on which LMS and CMS rely
apt
:
pkg={{','.join(edxapp_debian_pkgs)}} state=present
...
...
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