Commit fd064662 by Jason Bau

Changing stop/start back to restart now that things work for stanford

parent 10a636c3
......@@ -5,6 +5,7 @@
with_items:
- python2.7
- python-pip
- python2.7-dev
tags:
- pre_install
- install
......
......@@ -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=stopped
- name: restart edxapp
service: name=edxapp state=restarted
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment