hashcat-cloud/aws/roles/ec2_terminate/tasks/main.yml

10 lines
267 B
YAML
Raw Normal View History

2022-08-25 09:07:21 -07:00
- name: Terminate hashcat instance
ec2:
region: "{{ ec2.region }}"
instance_tags: "{{ ec2.tags }}"
instance_profile_name: "{{ ec2.role | default('') }}"
image: "{{ ec2.image }}"
exact_count: 0
wait: true