summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-08-21 00:25:16 +0200
committerjerome <jerome@xlinfo.fr>2025-08-21 00:25:16 +0200
commit95b49edd2145c86211f0b96a5ab3dcbc9c48bd2b (patch)
tree587ed806997e8c515f0fb144a1ea65565719dc04
parent3f8bd46f6bbf0fdce25bdde8dd0986665a36297b (diff)
downloadincus-95b49edd2145c86211f0b96a5ab3dcbc9c48bd2b.tar.gz
incus-95b49edd2145c86211f0b96a5ab3dcbc9c48bd2b.zip
private key
-rw-r--r--tofu/ansible/main.tf2
1 files changed, 1 insertions, 1 deletions
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 = [