File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,8 +80,12 @@ sed -i "s/branch:/branch: $BRANCH_NAME/" dataverse/defaults/main.yml
8080ansible-playbook -i dataverse/inventory dataverse/dataverse.pb --connection=local
8181EOF
8282
83+ # Port 8080 has been added because Ansible puts a redirect in place
84+ # from HTTP to HTTPS and the cert is invalid (self-signed), forcing
85+ # the user to click through browser warnings.
86+ CLICKABLE_LINK=" http://${PUBLIC_DNS} :8080"
8387echo " To ssh into the new instance:"
8488echo " ssh -i $PEM_FILE $USER_AT_HOST "
85- echo " Branch \" $BRANCH_NAME \" has been deployed to http:// ${PUBLIC_DNS} "
89+ echo " Branch \" $BRANCH_NAME \" has been deployed to $CLICKABLE_LINK "
8690echo " When you are done, please terminate your instance with:"
8791echo " aws ec2 terminate-instances --instance-ids $INSTANCE_ID "
You can’t perform that action at this time.
0 commit comments