aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/ansible/ec2-terminate.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/ansible/ec2-terminate.yml')
-rw-r--r--tests/files/ansible/ec2-terminate.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/files/ansible/ec2-terminate.yml b/tests/files/ansible/ec2-terminate.yml
new file mode 100644
index 000000000..8a8edc536
--- /dev/null
+++ b/tests/files/ansible/ec2-terminate.yml
@@ -0,0 +1,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