aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/ec2-terminate.yml
blob: 8a8edc5362db26fcbb5bcadb939f2012ce7e49b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
---
- name: Terminate all ec2 instances 
  hosts: security_group_client-tests
  remote_user: ubuntu # private key defined via ansible.cfg 
  gather_facts: false
  roles:
      - ec2

  tasks:
      - include: roles/ec2/tasks/terminate.yml