Add cloud and patching demos (#9)

Add demos for cloud provisioning and patching
This commit is contained in:
willtome
2022-03-29 14:01:28 -05:00
committed by GitHub
parent d162dcdb50
commit 8e56c5bbf6
88 changed files with 3273 additions and 18 deletions

15
cloud/destroy_vm.yml Normal file
View File

@@ -0,0 +1,15 @@
---
- hosts: "{{ HOSTS }}"
gather_facts: no
tasks:
- name: list systems to be destroyed
pause:
seconds: 30
prompt: "{{ inventory_hostname }} 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"