blockscout-terraform/destroy.yml

10 lines
252 B
YAML

- name: Destroy infrastructure
hosts: all
serial: 1
roles:
- { role: destroy, when: "confirmation|bool == True" }
vars_prompt:
- name: "confirmation"
prompt: "Are you sure you want to destroy all the infra?"
default: False