move role. add destroy vm

This commit is contained in:
willtome
2022-03-23 11:36:57 -04:00
parent 2216a5d4f7
commit 3c680fde71
11 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@@ -6,3 +6,4 @@ choose_demo_example_azure.yml
choose_demo_example_aws.yml
.ansible.cfg
*.gz

View File

@@ -0,0 +1,7 @@
---
- name: Destroy VM
amazon.aws.ec2_instance:
state: absent
instance_ids: "{{ instance_id }}"
region: "{{ placement.region }}"
delegate_to: localhost