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

9
tf-stage-0/ignition.tf Normal file
View File

@ -0,0 +1,9 @@
resource "local_file" "ignition" {
filename = "${var.files_dir}/ansible.ign"
content = templatefile(
"${path.module}/templates/ansible.ign.tpl",
{
ssh_public_key = chomp(one(tls_private_key.root[*].public_key_openssh))
}
)
}