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
fd064662
Commit
fd064662
authored
Jun 27, 2013
by
Jason Bau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changing stop/start back to restart now that things work for stanford
parent
10a636c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
22 deletions
+10
-22
playbooks/roles/common/tasks/create_venv.yml
+1
-0
playbooks/roles/edxapp/tasks/deploy.yml
+9
-22
No files found.
playbooks/roles/common/tasks/create_venv.yml
View file @
fd064662
...
...
@@ -5,6 +5,7 @@
with_items
:
-
python2.7
-
python-pip
-
python2.7-dev
tags
:
-
pre_install
-
install
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
fd064662
...
...
@@ -171,8 +171,7 @@
shell
:
executable=/bin/bash chdir={{ edx_platform_code_dir }} SERVICE_VARIANT={{ lms_variant }} rake lms:gather_assets:aws
when
:
grep_gather_assets.rc == 0
notify
:
-
stop edxapp
-
start edxapp
-
restart edxapp
sudo
:
yes
sudo_user
:
www-data
environment
:
"
{{
deploy_environment
}}"
...
...
@@ -187,8 +186,7 @@
shell
:
SERVICE_VARIANT={{ lms_variant }} django-admin.py collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=lms.envs.aws --noinput --verbosity=0
when
:
grep_gather_assets.rc != 0 and check_lms_collect_static.rc == 0
notify
:
-
stop edxapp
-
start edxapp
-
restart edxapp
sudo
:
yes
sudo_user
:
www-data
environment
:
"
{{
deploy_environment
}}"
...
...
@@ -205,8 +203,7 @@
shell
:
executable=/bin/bash chdir={{ edx_platform_code_dir }} SERVICE_VARIANT={{ cms_variant }} rake cms:gather_assets:aws
when
:
grep_gather_assets.rc == 0
notify
:
-
stop edxapp
-
start edxapp
-
restart edxapp
sudo
:
yes
sudo_user
:
www-data
environment
:
"
{{
deploy_environment
}}"
...
...
@@ -218,8 +215,7 @@
shell
:
SERVICE_VARIANT={{ cms_variant }} django-admin.py collectstatic --pythonpath={{ edx_platform_code_dir }} --settings=lms.envs.aws --noinput --verbosity=0
when
:
grep_gather_assets.rc != 0 and check_cms_collect_static.rc == 0
notify
:
-
stop edxapp
-
start edxapp
-
restart edxapp
sudo
:
yes
sudo_user
:
www-data
environment
:
"
{{
deploy_environment
}}"
...
...
@@ -231,8 +227,7 @@
shell
:
SERVICE_VARIANT={{ cms_variant }} django-admin.py update_templates --pythonpath={{ edx_platform_code_dir }} --settings=cms.envs.aws
when
:
check_cms_update_templates.rc == 0
notify
:
-
stop edxapp
-
start edxapp
-
restart edxapp
sudo
:
yes
sudo_user
:
www-data
environment
:
"
{{
deploy_environment
}}"
...
...
@@ -275,20 +270,11 @@
-
cms
-
syncdb
-
name
:
stop
edxapp
service
:
name=edxapp state=
stopp
ed
-
name
:
restart
edxapp
service
:
name=edxapp state=
restart
ed
tags
:
-
lms
-
lms-xml
-
lms-preview
-
cms
-
deploy
-
name
:
start edxapp
service
:
name=edxapp state=started
tags
:
-
lms
-
lms-xml
-
lms-preview
-
cms
-
deploy
-
deploy
\ No newline at end of file
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