From 99cc2de41ef7da466ea3e7a095f2d2307f173f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Pr=C3=A9mel-Cabic?= Date: Mon, 8 Jun 2026 11:29:38 +0200 Subject: [PATCH] docs: link slide 26 dynamic inventory to Terraform state - dynamic example now uses cloud.terraform.terraform_state plugin reading the .tfstate from the earlier Terraform slides - notes explain the Terraform -> Ansible handoff (single source of truth) Co-Authored-By: Claude Opus 4.8 (1M context) --- index.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 207b7b9..1d4620a 100644 --- a/index.html +++ b/index.html @@ -1054,7 +1054,7 @@ Apply complete! Resources: 2 added, 0 changed, 0 destroyed.

Who runs where? The inventory.

@@ -1069,12 +1069,12 @@ webservers:
-

# openstack.yml — dynamic

+

# terraform.yml — dynamic (from TF state)


-plugin: openstack.cloud.openstack
-expand_hostvars: true
-groups:
-  webservers: "'web' in name"
+plugin: cloud.terraform.terraform_state
+backend_type: local
+backend_config:
+  path: ../terraform/terraform.tfstate
         
@@ -1082,8 +1082,9 @@ groups: