Provision a new VPS
This commit is contained in:
parent
ea45f6833c
commit
0bd4b5f5fd
3 changed files with 36 additions and 0 deletions
|
@ -111,3 +111,21 @@ wireguard:
|
||||||
3338353564636361610a663564643235643733373137386631643062323630336662363934656135
|
3338353564636361610a663564643235643733373137386631643062323630336662363934656135
|
||||||
38346130306439646238336165356133333262646463633231323864636662396237623132363937
|
38346130306439646238336165356133333262646463633231323864636662396237623132363937
|
||||||
6130613938623465336564306164623131353830363664363736
|
6130613938623465336564306164623131353830363664363736
|
||||||
|
grimes:
|
||||||
|
ip: 10.23.0.3
|
||||||
|
public_key: !vault |
|
||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
34356164303230653837396536623665633163333033346561363234343234373336393139613566
|
||||||
|
6631373863386563616162396266353937353935313133330a613166633333393666393838663030
|
||||||
|
65306136363164326330666339356539376137393661363863643333343535363233626239353366
|
||||||
|
3333376465396433610a376434376163373139363830663435373038343663303262326161316162
|
||||||
|
33653262613161313539303934613834656634396535306164343763313738306364366264383536
|
||||||
|
6330336166666134323139303861343664353133653439623363
|
||||||
|
private_key: !vault |
|
||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
34386435386230393434383963613263626438373639396335643135313431366564373532323366
|
||||||
|
6538663134393535323731323932623334393932366664390a346437653538383730323161386266
|
||||||
|
30656164633361393763306261303464336262666132303365363035303662636631386663386134
|
||||||
|
3561373030313230300a303465643631396634616266313262316166346134643234356333303937
|
||||||
|
66623263643132383032326631303962396639636461343261313562303265363764663463333562
|
||||||
|
6266316533653161376338343865666162353833346562343132
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
casey ansible_host=10.23.0.1
|
casey ansible_host=10.23.0.1
|
||||||
intersect ansible_host=10.23.0.2
|
intersect ansible_host=10.23.0.2
|
||||||
|
grimes ansible_host=10.23.0.3
|
||||||
|
|
17
terraform/grimes_vps.tf
Normal file
17
terraform/grimes_vps.tf
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
resource "vultr_server" "grimes" {
|
||||||
|
plan_id = 201
|
||||||
|
region_id = 8
|
||||||
|
os_id = 159
|
||||||
|
hostname = "grimes"
|
||||||
|
firewall_group_id = vultr_firewall_group.grimes.id
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "vultr_firewall_group" "grimes" {
|
||||||
|
description = "grimes"
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "vultr_firewall_rule" "grimes_ping" {
|
||||||
|
firewall_group_id = vultr_firewall_group.grimes.id
|
||||||
|
protocol = "icmp"
|
||||||
|
network = "0.0.0.0/0"
|
||||||
|
}
|
Loading…
Reference in a new issue