aboutsummaryrefslogtreecommitdiff
path: root/opentofu/modules/ansible_provisioner/main.tf
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-02-08 20:20:02 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-02-08 20:20:02 +0100
commit41b4c6897cd61f8f7bbfc26d130150f135e1fefd (patch)
tree5c0f1702e82ac06050eb7681b8e404037a2a31e9 /opentofu/modules/ansible_provisioner/main.tf
parent1e0f492b1d7f998cb7996e0f307c1e32a07cea36 (diff)
opentofu: add types and descriptions to modules' variables
Diffstat (limited to 'opentofu/modules/ansible_provisioner/main.tf')
-rw-r--r--opentofu/modules/ansible_provisioner/main.tf12
1 files changed, 0 insertions, 12 deletions
diff --git a/opentofu/modules/ansible_provisioner/main.tf b/opentofu/modules/ansible_provisioner/main.tf
index cac666d..0de288e 100644
--- a/opentofu/modules/ansible_provisioner/main.tf
+++ b/opentofu/modules/ansible_provisioner/main.tf
@@ -1,15 +1,3 @@
-variable "vm_ip" {
- default = null
-}
-
-variable "inventory_file_path" {
- default = null
-}
-
-variable "vm_username" {}
-variable "ssh_private_key_path" {}
-variable "ansible_playbook_path" {}
-
resource "null_resource" "ansible_provisioner" {
triggers = {
ip_or_inventory = coalesce(var.vm_ip, var.inventory_file_path) # Choose based on what is provided