diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-08 20:20:02 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-08 20:20:02 +0100 |
commit | 41b4c6897cd61f8f7bbfc26d130150f135e1fefd (patch) | |
tree | 5c0f1702e82ac06050eb7681b8e404037a2a31e9 /opentofu/modules/ansible_provisioner/main.tf | |
parent | 1e0f492b1d7f998cb7996e0f307c1e32a07cea36 (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.tf | 12 |
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 |