blockscout-terraform/clean.yml

17 lines
484 B
YAML

- name: Clean TF cache
hosts: localhost,all
tasks:
- name: Clean TF cache
file:
state: absent
path: "{{ item }}"
with_fileglob:
- "roles/main_infra/files/.terraform"
- "roles/main_infra/files/terraform.tfstate.d"
- "roles/main_infra/files/main.tfvars"
- "roles/main_infra/files/backend.tfvars"
- "roles/main_infra/files/terraform.tfplan"
- "log.txt"
- "blockscout-*"
- "/tmp/files-*"