Commit cbd12247 by e0d

Merge pull request #1733 from edx/e0d/fix-change-enrollment

Add important =, dry out.
parents c95e95ca 1867b28a
......@@ -3,10 +3,11 @@ pip install -r requirements.txt
env
ansible="ansible first_in_tag_Name_${environment}-${deployment}-worker -i playbooks/ec2.py -u ubuntu -s -U www-data -a"
manage="/edx/bin/python.edxapp /edx/bin/manage.edxapp lms change_enrollment --settings aws"
manage="/edx/bin/python.edxapp /edx/bin/manage.edxapp lms change_enrollment --settings=aws"
noop_switch=""
if [ "$noop" = true ]; then
$ansible "$manage --noop --course $course --user $name --to $to --from $from"
else
$ansible "$manage --course $course --user $name --to $to --from $from"
noop_switch="--noop"
fi
$ansible "$manage $noop_switch --course $course --user $name --to $to --from $from"
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