Skip to content

Commit

Permalink
text fmts
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Jun 28, 2024
1 parent b3ccc0b commit 03a8071
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions automation/new_droplet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if doctl compute droplet list --format Name | grep -i "$1"; then
exit 1
fi

notify "Provisioning new droplet $1"
notify "## Provisioning new droplet **$1**"

SSH_KEYS=$(doctl compute ssh-key list --no-header --format ID)

Expand Down Expand Up @@ -48,7 +48,7 @@ droplet_priv_ipv4=$(doctl compute droplet get "$droplet_id" --output json | jq -


echo "Droplet is active!, public IP: $droplet_pub_ipv4, private IP: $droplet_priv_ipv4"
notify "Droplet $1 is active at $droplet_pub_ipv4"
notify "> Droplet **$1** is active at $droplet_pub_ipv4"
# Wait for SSH to become available
echo "Waiting for SSH to be available..."
while ! ssh -o StrictHostKeyChecking=no -q root@"$droplet_priv_ipv4" exit; do
Expand All @@ -64,4 +64,4 @@ fetch_inventory | ansible-playbook -i /dev/stdin playbooks/initalize_worker.yml


notify "Droplet $1 is provisioned and configured!"
echo "Droplet $1 is provisioned and configured!"
echo "**Droplet $1 is provisioned and configured!**"

0 comments on commit 03a8071

Please sign in to comment.