Merge branch 'main' into cloud

This commit is contained in:
willtome
2022-06-10 10:26:26 -04:00
committed by GitHub
40 changed files with 1027 additions and 28 deletions

View File

@@ -4,12 +4,16 @@
tasks:
- name: list systems to be destroyed
debug:
msg: "{{ inventory_hostname }}"
- name: pause for review...
pause:
seconds: 30
prompt: "{{ inventory_hostname }} will be DESTROYED in 30 seconds. Cancel the job to Abort."
prompt: "Systems listed above will be DESTROYED in 30 seconds. Cancel the job to Abort."
- name: destroy vm
include_role:
name: "demo.cloud.aws"
tasks_from: destroy_vm
when: "'cloud_aws' in group_names or 'cloud_azure' in group_names"
when: "'cloud_aws' in group_names or 'cloud_azure' in group_names"