13 lines
340 B
YAML
13 lines
340 B
YAML
- name: "Destroy cluster via terraform"
|
|
community.general.terraform:
|
|
project_path: '{{ project_terraform }}'
|
|
state: absent
|
|
environment:
|
|
SCW_ACCESS_KEY: "{{ scw_access_key }}"
|
|
SCW_SECRET_KEY: "{{ scw_secret_key }}"
|
|
register: output
|
|
|
|
- name: Remove directory
|
|
file:
|
|
path: '{{ project_terraform }}'
|
|
state: absent |