Terraform Ansbile Module
| .forgejo/workflows | ||
| .editorconfig | ||
| .gitignore | ||
| .markdownlint.json | ||
| .pre-commit-config.yaml | ||
| CHANGELOG.md | ||
| main.tf | ||
| Makefile | ||
| providers.tf | ||
| README.md | ||
| release.config.mjs | ||
| renovate.json | ||
| variables.tf | ||
Terraform Ansible Module
Requirements
| Name | Version |
|---|---|
| terraform | >= 1.10.2 |
| external | >= 2.0.0 |
| local | ~> 2.1 |
| null | ~> 3.2 |
Providers
| Name | Version |
|---|---|
| external | 2.3.5 |
| local | 2.6.1 |
| null | 3.2.4 |
Modules
No modules.
Resources
| Name | Type |
|---|---|
| local_file.ansible_inventory | resource |
| null_resource.ansible_git | resource |
| null_resource.ansible_setup | resource |
| null_resource.ansible_trigger | resource |
| null_resource.wait_for_ssh | resource |
| external_external.git_hash | data source |
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| ansible_env_vars | Map of environment variables for the Ansible playbook | map(string) |
{} |
no |
| ansible_inventory_file | Ansible inventory file (default: tf-ansible-inventory) | string |
"tf-ansible-inventory" |
no |
| ansible_playbook | n/a | string |
"site.yml" |
no |
| ansible_playbook_path | Ansible playbook path (default: /tmp/ansible-playbooks) | string |
"/tmp/ansible-playbooks" |
no |
| ansible_repo | Git repository URL for the Ansible repo | string |
n/a | yes |
| proxmox_vm_dependency | Dependency on created Proxmox VMs (vm_ids or module) | any |
n/a | yes |
| proxmox_vms | Map of Proxmox VMs with tags and network data | map(object({ |
n/a | yes |
Outputs
No outputs.