Commit 137e06eb by Nadeem Shahzad Committed by GitHub

Merge pull request #3900 from edx/nadeem/skip-elb-operations

Skip elb operations in CreateSandbox job with full_edx_installation
parents a7d5f671 685d5f27
...@@ -322,7 +322,7 @@ EOF ...@@ -322,7 +322,7 @@ EOF
if [[ $server_type == "full_edx_installation" ]]; then if [[ $server_type == "full_edx_installation" ]]; then
extra_var_arg+=' -e instance_userdata="" -e launch_wait_time=0' extra_var_arg+=' -e instance_userdata="" -e launch_wait_time=0 -e elb_pre_post=false'
fi fi
# run the tasks to launch an ec2 instance from AMI # run the tasks to launch an ec2 instance from AMI
cat $extra_vars_file cat $extra_vars_file
...@@ -331,7 +331,7 @@ EOF ...@@ -331,7 +331,7 @@ EOF
if [[ $server_type == "full_edx_installation" ]]; then if [[ $server_type == "full_edx_installation" ]]; then
# additional tasks that need to be run if the # additional tasks that need to be run if the
# entire edx stack is brought up from an AMI # entire edx stack is brought up from an AMI
run_ansible rabbitmq.yml -i "${deploy_host}," $extra_var_arg -e 'elb_pre_post=false' --user ubuntu run_ansible rabbitmq.yml -i "${deploy_host}," $extra_var_arg --user ubuntu
run_ansible restart_supervisor.yml -i "${deploy_host}," $extra_var_arg --user ubuntu run_ansible restart_supervisor.yml -i "${deploy_host}," $extra_var_arg --user ubuntu
fi fi
fi fi
......
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