go-ethereum/ansible/roles/ec2/tasks/terminate.yml

9 lines
159 B
YAML

---
- name: Terminate ec2 instances
local_action: ec2
state=absent
instance_ids={{ ec2_id }}
region={{ region }}
wait=true