Commit d34d1779 by Edward Zarecor

run in a shell

parent aade7293
...@@ -2,7 +2,7 @@ cd configuration ...@@ -2,7 +2,7 @@ cd configuration
pip install -r requirements.txt pip install -r requirements.txt
env env
ansible="ansible first_in_tag_Name_${environment}-${deployment}-worker -i playbooks/ec2.py -u ubuntu -s -U www-data -a" ansible="ansible first_in_tag_Name_${environment}-${deployment}-worker -i playbooks/ec2.py -u ubuntu -s -U www-data -m shell -a"
manage="cd /edx/app/edxapp/edx-platform && /edx/bin/python.edxapp /edx/bin/manage.edxapp lms change_enrollment --settings aws" manage="cd /edx/app/edxapp/edx-platform && /edx/bin/python.edxapp /edx/bin/manage.edxapp lms change_enrollment --settings aws"
if [ "$noop" = true ]; then if [ "$noop" = true ]; then
......
...@@ -4,7 +4,7 @@ cd configuration ...@@ -4,7 +4,7 @@ cd configuration
pip install -r requirements.txt pip install -r requirements.txt
env env
ansible="ansible -v first_in_tag_Name_${environment}-${deployment}-worker -i playbooks/ec2.py -u ubuntu -s -U www-data -a" ansible="ansible -v first_in_tag_Name_${environment}-${deployment}-worker -i playbooks/ec2.py -u ubuntu -s -U www-data -m shell -a"
manage="cd /edx/app/edxapp/edx-platform && /edx/bin/python.edxapp /edx/bin/manage.edxapp lms change_enrollment --settings=aws" manage="cd /edx/app/edxapp/edx-platform && /edx/bin/python.edxapp /edx/bin/manage.edxapp lms change_enrollment --settings=aws"
noop_switch="" noop_switch=""
......
...@@ -4,7 +4,7 @@ cd configuration ...@@ -4,7 +4,7 @@ cd configuration
pip install -r requirements.txt pip install -r requirements.txt
env env
ansible="ansible first_in_tag_Name_${environment}-${deployment}-worker -i playbooks/ec2.py -u ubuntu -s -U www-data -a" ansible="ansible first_in_tag_Name_${environment}-${deployment}-worker -i playbooks/ec2.py -u ubuntu -s -U www-data -m shell -a"
manage="cd /edx/app/edxapp/edx-platform && /edx/bin/python.edxapp ./manage.py chdir=/edx/app/edxapp/edx-platform" manage="cd /edx/app/edxapp/edx-platform && /edx/bin/python.edxapp ./manage.py chdir=/edx/app/edxapp/edx-platform"
if [ "$service_variant" != "UNSET" ]; then if [ "$service_variant" != "UNSET" ]; then
......
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