Commit c440b195 by John Jarvis

only run ansible configuration for the full stack

parent 9359caa8
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
# as environment variables # as environment variables
# #
# - github_username - REQUIRED (will also be the jenkins user) # - github_username - REQUIRED (will also be the jenkins user)
# - server_type
# - instance_type # - instance_type
# - region # - region
# - aws_account # - aws_account
...@@ -96,6 +97,8 @@ cd playbooks/edx-east ...@@ -96,6 +97,8 @@ cd playbooks/edx-east
ansible-playbook -vvvv edx_provision.yml -i inventory.ini -e "@${extra_vars}" --user ubuntu ansible-playbook -vvvv edx_provision.yml -i inventory.ini -e "@${extra_vars}" --user ubuntu
# run tasks to update application config files that # run tasks to update application config files that
# for the hostnames # for the hostnames
ansible-playbook -vvvv edx_continuous_integration.yml -i "${dns_name}.${dns_zone}," -e "@${extra_vars}" --user ubuntu if [[ $server_type == "full_edx_stack" ]]; then
ansible-playbook -vvvv edx_continuous_integration.yml -i "${dns_name}.${dns_zone}," -e "@${extra_vars}" --user ubuntu
fi
rm -f "$extra_vars" rm -f "$extra_vars"
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