feat: redeploy

This commit is contained in:
2026-03-15 20:30:38 -04:00
parent 3ccd3e5394
commit 6a84601b8c
6 changed files with 101 additions and 83 deletions

15
playbooks/destroy.yml Normal file
View File

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