summaryrefslogtreecommitdiff
path: root/tofu
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-08-18 11:27:45 +0200
committerjerome <jerome@xlinfo.fr>2025-08-18 11:27:45 +0200
commit2b460f3d16ae3f3d7ac6cd8ac3901b58ef4a8c4d (patch)
treeeb2afff996847b80dc6e7064e77fe5eb7a0a3b41 /tofu
parent4293df73e636a3bb9097d4cbe80ae8c194862f6b (diff)
downloadincus-2b460f3d16ae3f3d7ac6cd8ac3901b58ef4a8c4d.tar.gz
incus-2b460f3d16ae3f3d7ac6cd8ac3901b58ef4a8c4d.zip
projet
Diffstat (limited to 'tofu')
-rw-r--r--tofu/ansible/hosts1
-rw-r--r--tofu/basic/main.tf2
-rw-r--r--tofu/lots/main.tf2
3 files changed, 3 insertions, 2 deletions
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 {