Commit 1f6f5bec by Feanil Patel

Merge pull request #1698 from edx/feanil/lowercase_dns_rel

Work around for an issue in the Route53 module.
parents b0f3dc88 50163d91
...@@ -77,7 +77,7 @@ if [[ -z $elb ]]; then ...@@ -77,7 +77,7 @@ if [[ -z $elb ]]; then
fi fi
if [[ -z $dns_name ]]; then if [[ -z $dns_name ]]; then
dns_name=$github_username dns_name=${github_username}
fi fi
if [[ -z $name_tag ]]; then if [[ -z $name_tag ]]; then
...@@ -102,6 +102,9 @@ if [[ -z $enable_monitoring ]]; then ...@@ -102,6 +102,9 @@ if [[ -z $enable_monitoring ]]; then
enable_monitoring="false" enable_monitoring="false"
fi fi
# Lowercase the dns name to deal with an ansible bug
dns_name="${dns_name,,}"
deploy_host="${dns_name}.${dns_zone}" deploy_host="${dns_name}.${dns_zone}"
ssh-keygen -f "/var/lib/jenkins/.ssh/known_hosts" -R "$deploy_host" ssh-keygen -f "/var/lib/jenkins/.ssh/known_hosts" -R "$deploy_host"
......
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