aboutsummaryrefslogtreecommitdiff
path: root/opentofu/modules/ansible_provisioner/variables.tf
blob: 0d15d01b9dccadf4f3e92729f9fc392d712625c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
variable "vm_ip" {
  type        = string
  default     = null
  description = "The IP address of the VM to provision. Either this or `inventory_file_path` must be provided."
}

variable "inventory_file_path" {
  type        = string
  default     = null
  description = "The path to the Ansible inventory file. Either this or `vm_ip` must be provided."
}

variable "vm_username" {
  type        = string
  description = "The username to use for SSH access to the VM."
}

variable "ssh_private_key_path" {
  type        = string
  description = "The path to the private SSH key for accessing the VM."
}

variable "ansible_playbook_path" {
  type        = string
  description = "The path to the Ansible playbook to execute."
}