From 41b4c6897cd61f8f7bbfc26d130150f135e1fefd Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Sat, 8 Feb 2025 20:20:02 +0100 Subject: opentofu: add types and descriptions to modules' variables --- opentofu/modules/ansible_provisioner/main.tf | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'opentofu/modules/ansible_provisioner/main.tf') 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 -- cgit v1.2.3