feat: port over configuration
This commit is contained in:
15
playbooks/destroy.yml
Normal file
15
playbooks/destroy.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
- 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
|
||||
Reference in New Issue
Block a user