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

9 lines
267 B
YAML

- 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