From 95b49edd2145c86211f0b96a5ab3dcbc9c48bd2b Mon Sep 17 00:00:00 2001 From: jerome Date: Thu, 21 Aug 2025 00:25:16 +0200 Subject: private key --- tofu/ansible/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tofu/ansible/main.tf') diff --git a/tofu/ansible/main.tf b/tofu/ansible/main.tf index d0b029f..986775a 100644 --- a/tofu/ansible/main.tf +++ b/tofu/ansible/main.tf @@ -24,8 +24,8 @@ resource "incus_instance" "debian" { connection { type = "ssh" host = self.ipv4_address - #password = "secret" user = "ansible" + private_key = file("~/.ssh/id_rsa") } provisioner "remote-exec" { inline = [ -- cgit v1.2.3