2020-02-21 21:51:16 +00:00
|
|
|
resource "local_file" "hosts" {
|
2020-02-21 22:16:08 +00:00
|
|
|
content = yamlencode({
|
2023-06-15 15:16:19 +01:00
|
|
|
vps_hosts : {
|
2022-01-21 21:52:21 +00:00
|
|
|
casey_ip : linode_instance.casey.ip_address,
|
2024-03-07 22:30:10 +00:00
|
|
|
private_ipv6_marker : local.private_ipv6_marker,
|
|
|
|
private_ipv6_range : local.private_ipv6_range,
|
2021-09-27 14:49:56 +01:00
|
|
|
walker_ip : vultr_instance.walker.main_ip,
|
2020-02-21 22:16:08 +00:00
|
|
|
}
|
|
|
|
})
|
2023-06-15 15:16:19 +01:00
|
|
|
filename = "${path.module}/../ansible/group_vars/all/vps-hosts.yml"
|
2020-02-21 21:51:16 +00:00
|
|
|
}
|