diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-04-24 02:07:29 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-04-24 02:07:29 -0400 |
commit | 0f9f21c0f34395e35ba67eab5a36addf58b51495 (patch) | |
tree | bed79c56f6bdaba6f126d5fb129216749c069314 /bin/helpers | |
parent | f555b450ca61449695302cea97a3842ee4caf756 (diff) | |
download | puppet-tozt-0f9f21c0f34395e35ba67eab5a36addf58b51495.tar.gz puppet-tozt-0f9f21c0f34395e35ba67eab5a36addf58b51495.zip |
use hostnames for droplet names
this is how you convince digitalocean to set up proper reverse dns
Diffstat (limited to 'bin/helpers')
-rwxr-xr-x | bin/helpers/launch-algo | 2 | ||||
-rwxr-xr-x | bin/helpers/launch-mail | 2 | ||||
-rwxr-xr-x | bin/helpers/launch-tozt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bin/helpers/launch-algo b/bin/helpers/launch-algo index 748d00e..fc84da0 100755 --- a/bin/helpers/launch-algo +++ b/bin/helpers/launch-algo @@ -41,7 +41,7 @@ echo "Running Ansible..." do_token=$(cat /mnt/digitalocean) ansible-playbook main.yml -e " provider=digitalocean - server_name=algo + server_name=algo.tozt.net region=nyc3 do_token=$do_token dns_adblocking=false diff --git a/bin/helpers/launch-mail b/bin/helpers/launch-mail index bdc541e..a3e748e 100755 --- a/bin/helpers/launch-mail +++ b/bin/helpers/launch-mail @@ -5,7 +5,7 @@ set -o pipefail # shellcheck source=functions.sh . "$(dirname "$0")/functions.sh" -create_droplet mail s-1vcpu-2gb 5e4d8c7b-f840-11e8-b59e-0a58ac1467fb +create_droplet mail.tozt.net s-1vcpu-2gb 5e4d8c7b-f840-11e8-b59e-0a58ac1467fb echo "Creating DNS entry for $ip..." record_id=$(doctl \ diff --git a/bin/helpers/launch-tozt b/bin/helpers/launch-tozt index 4bef6f1..4777472 100755 --- a/bin/helpers/launch-tozt +++ b/bin/helpers/launch-tozt @@ -5,7 +5,7 @@ set -o pipefail # shellcheck source=functions.sh . "$(dirname "$0")/functions.sh" -create_droplet tozt s-1vcpu-2gb 4206344e-cf4f-11e8-a5a7-0a58ac1465db +create_droplet tozt.net s-1vcpu-2gb 4206344e-cf4f-11e8-a5a7-0a58ac1465db echo "Assigning floating ip to tozt..." # XXX this returns an error for some reason, but actually succeeds: |