Files
hetzner-cluster/playbooks/destroy.yml
2025-12-30 11:23:26 -05:00

16 lines
420 B
YAML

- name: Deploy terraform infrastructure.
hosts: localhost
gather_facts: false
vars_files:
- ../vault.yml
tasks:
- name: Destroy
community.general.terraform:
project_path: '../terraform'
state: "absent"
init_reconfigure: true
force_init: true
backend_config: "{{ terraform.backend }}"
variables: "{{ terraform.variables }}"
complex_vars: true