blockscout-terraform/clean.yml

17 lines
539 B
YAML
Raw Normal View History

- name: Clean TF cache
2019-06-05 06:04:33 -07:00
hosts: localhost,all
tasks:
- name: Clean TF cache
file:
state: absent
path: "{{ item }}"
2019-06-05 06:04:33 -07:00
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"
- "/tmp/blockscout-{{ group_names[0] }}-{{ chain }}"
- "/tmp/files-{{ group_names[0] }}"