mirror of
https://github.com/apricote/home-cloud.git
synced 2026-02-07 10:17:01 +00:00
ansible setup
This commit is contained in:
parent
42ec743a00
commit
2a2d951971
24 changed files with 167 additions and 430 deletions
19
terraform_provider_test/nodes.tf
Normal file
19
terraform_provider_test/nodes.tf
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
resource rancher2_node_driver hcloud {
|
||||
active = true
|
||||
builtin = false
|
||||
description = "Hetzner Cloud"
|
||||
external_id = "hcloud"
|
||||
name = "hetzner"
|
||||
ui_url = "https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js"
|
||||
url = "https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/1.2.2/docker-machine-driver-hetzner_1.2.2_linux_amd64.tar.gz"
|
||||
whitelist_domains = ["storage.googleapis.com"]
|
||||
}
|
||||
|
||||
resource hcloud_floating_ip cluster {
|
||||
type = "ipv4"
|
||||
home_location = "${var.hcloud_location}"
|
||||
}
|
||||
|
||||
output cluster_ip {
|
||||
value = "${hcloud_floating_ip.cluster.ip_address}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue