Terraform Ansbile Module
  • HCL 87.1%
  • JavaScript 6.7%
  • Makefile 6.2%
Find a file
Infrapunks Bot f87487025d
All checks were successful
pre-commit-check / pre-commit (push) Successful in 16s
Release / release (push) Successful in 5s
chore: sync repo configuration
2026-09-20 09:20:06 +02:00
.forgejo/workflows chore(docker): update git.bueraner.de/murdoc/docker-semantic-release:latest docker digest to 23ba8c5 2026-08-18 03:21:52 +00:00
.editorconfig chore: update .editorconfig 2025-07-30 22:35:17 +02:00
.gitignore feat: add terraform ansible module 2025-07-30 22:18:46 +02:00
.markdownlint.json chore: disable markdown lint check MD060 2026-01-06 21:40:46 +01:00
.pre-commit-config.yaml chore: sync repo configuration 2026-09-20 09:20:06 +02:00
AGENTS.md docs(agents): condense repo-specific agent guidance 2026-04-12 10:58:09 +02:00
CHANGELOG.md chore(release): 1.4.7 [skip ci] 2026-08-27 05:10:09 +02:00
main.tf fix: wait for stable ssh before ansible run 2026-08-27 05:09:52 +02:00
Makefile chore: replace shell 2026-08-16 19:45:11 +02:00
providers.tf feat: add terraform ansible module 2025-07-30 22:18:46 +02:00
README.md docs: update tf docs 2026-09-17 09:57:47 +02:00
release.config.mjs feat: add semantic release versioning config 2025-07-30 22:27:19 +02:00
renovate.json feat: add postUpgradeTasks 2026-02-19 23:18:11 +01:00
variables.tf feat(ansible): make playbook verbosity configurable 2026-04-20 23:41:47 +02:00

Requirements

Name Version
terraform >= 1.10.2
external >= 2.0.0
local ~> 2.1
null ~> 3.2

Providers

Name Version
external 2.4.2
local 2.9.1
null 3.3.2

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
ansible_verbosity Ansible verbosity level from 0 to 4; 0 disables -v flags number 0 no
override_vm_state Hard override for all VM states, used by start/stop targets string null no
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({
ciuser = string
cidr = string
tags = list(string)
ansible_playbook_tag = optional(string, "update")
vm_state = optional(string)
}))
n/a yes
vm_state Default state of the VM(s) (running, stopped, absent) string n/a yes

Outputs

No outputs.