plugeth/ansible/roles/ec2/tasks/terminate.yml
2015-01-25 22:52:38 +01:00

9 lines
159 B
YAML

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