aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/ec2/tasks/terminate.yml
blob: e3d3df6723f3128dd72afffc3ac5d76f55637e8e (plain) (blame)
1
2
3
4
5
6
7
8
---
- name: Terminate ec2 instances 
  local_action: ec2
        state=absent
        instance_ids={{ ec2_id }}
        region={{ region }}
        wait=true