2020-02-21 21:51:16 +00:00
|
|
|
resource "local_file" "hosts" {
|
2020-02-21 22:16:08 +00:00
|
|
|
content = yamlencode({
|
|
|
|
hosts : {
|
|
|
|
casey_ip : vultr_server.casey.main_ip
|
|
|
|
}
|
|
|
|
})
|
|
|
|
filename = "${path.module}/../ansible/group_vars/all/hosts.yml"
|
2020-02-21 21:51:16 +00:00
|
|
|
}
|