Commit d9e60de6 by Edward Zarecor

Add important =, dry out.

parent 71aa4c38
......@@ -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=""
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="--noop"
fi
$ansible "$manage $noop --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