Refactor: Dir structure

This commit is contained in:
2023-09-14 06:48:05 +02:00
parent c361625230
commit af3e66f901
157 changed files with 3 additions and 3 deletions

11
tf-stage-0/ansible.tf Normal file
View File

@ -0,0 +1,11 @@
resource "local_file" "inventory" {
filename = "${var.files_dir}/inventory.yaml"
content = templatefile(
"${path.module}/templates/inventory.yaml.tpl",
{
server_under_test_ip = hcloud_server.under_test.ipv4_address,
server_under_test_hostname = hcloud_server.under_test.name,
ssh_private_key_file = local_sensitive_file.ssh_private_key.filename
}
)
}