From 2b460f3d16ae3f3d7ac6cd8ac3901b58ef4a8c4d Mon Sep 17 00:00:00 2001 From: jerome Date: Mon, 18 Aug 2025 11:27:45 +0200 Subject: projet --- tofu/ansible/hosts | 1 + tofu/basic/main.tf | 2 +- tofu/lots/main.tf | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tofu') diff --git a/tofu/ansible/hosts b/tofu/ansible/hosts index e5bdaa1..808ede3 100644 --- a/tofu/ansible/hosts +++ b/tofu/ansible/hosts @@ -1 +1,2 @@ webserver1 ansible_host=192.168.122.213 ansible_user=ansible ansible_become=true +webserver2 ansible_host=192.168.122.188 ansible_user=ansible ansible_become=true diff --git a/tofu/basic/main.tf b/tofu/basic/main.tf index 7da8687..75ab3b5 100644 --- a/tofu/basic/main.tf +++ b/tofu/basic/main.tf @@ -14,7 +14,7 @@ provider "incus" { resource "incus_instance" "test" { name = "test" image = "images:ubuntu/22.04" - project = "Lab" + project = "lab" wait_for { type = "ipv4" } diff --git a/tofu/lots/main.tf b/tofu/lots/main.tf index 7917a03..573548e 100644 --- a/tofu/lots/main.tf +++ b/tofu/lots/main.tf @@ -13,7 +13,7 @@ provider "incus" { resource "incus_instance" "instance" { name = "${var.nom}${count.index + 1}" - project = "Lab" + project = "lab" image = var.image count = var.nb wait_for { -- cgit v1.2.3