move role. add destroy vm
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ choose_demo_example_azure.yml
|
||||
choose_demo_example_aws.yml
|
||||
.ansible.cfg
|
||||
*.gz
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Destroy VM
|
||||
amazon.aws.ec2_instance:
|
||||
state: absent
|
||||
instance_ids: "{{ instance_id }}"
|
||||
region: "{{ placement.region }}"
|
||||
delegate_to: localhost
|
||||
Reference in New Issue
Block a user