Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lee KIMBER
Ansible Droplet
Commits
537f7e73
Commit
537f7e73
authored
Jan 13, 2019
by
Florian Kempenich
Browse files
Update droplet sizes with more cost-effective solutions
parent
a8a7db2a
Changes
4
Hide whitespace changes
Inline
Side-by-side
ansible_droplet/ansible/droplet_specs/micro.yaml
View file @
537f7e73
...
...
@@ -3,7 +3,7 @@
# - size: `XXXmb` or `Xgb`
# - swap: `XXXMiB` or `XGiB`
size
:
"
512m
b"
size
:
"
s-1vcpu-1g
b"
region
:
"
fra1"
image
:
"
ubuntu-16-04-x64"
swap
:
"
4GiB"
ansible_droplet/ansible/droplet_specs/mini.yaml
View file @
537f7e73
...
...
@@ -3,7 +3,7 @@
# - size: `XXXmb` or `Xgb`
# - swap: `XXXMiB` or `XGiB`
size
:
"
1gb"
size
:
"
s-3vcpu-
1gb"
region
:
"
fra1"
image
:
"
ubuntu-16-04-x64"
swap
:
"
4GiB"
ansible_droplet/ansible/droplet_specs/power.yaml
View file @
537f7e73
...
...
@@ -3,7 +3,7 @@
# - size: `XXXmb` or `Xgb`
# - swap: `XXXMiB` or `XGiB`
size
:
"
4
gb"
size
:
"
s-6vcpu-16
gb"
region
:
"
fra1"
image
:
"
ubuntu-16-04-x64"
swap
:
"
4GiB"
list_droplet_sizes.sh
0 → 100755
View file @
537f7e73
#!/bin/bash
# Debug script. Requires `jq` installed (npm tool)
DO_TOKEN_FILE
=
"
$HOME
/config-in-the-cloud/secrets/digitalocean/token"
DO_TOKEN
=
$(
cat
$DO_TOKEN_FILE
)
RES
=
$(
\
curl
\
-s
\
-X
GET
\
-H
"Content-Type: application/json"
\
-H
"Authorization: Bearer
$DO_TOKEN
"
\
"https://api.digitalocean.com/v2/sizes"
)
echo
$RES
| jq
'.sizes[] | {slug: .slug, vcpus: .vcpus, hourly: .price_hourly, monthly: .price_monthly}'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment