add vm_destroy playbook and role
correct network addressing in template write hostname to /etc/hostname
This commit is contained in:
22
ansible/playbooks/99_vm_destroy.yaml
Normal file
22
ansible/playbooks/99_vm_destroy.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: create the vms
|
||||
hosts: hv00
|
||||
gather_facts: true
|
||||
become: true
|
||||
roles:
|
||||
- vm_destroy
|
||||
|
||||
# - name: python bootstrap
|
||||
# hosts: k8s
|
||||
# gather_facts: false
|
||||
# become: true
|
||||
# roles:
|
||||
# - python-install
|
||||
|
||||
# - name: vm hardening
|
||||
# hosts: k8s
|
||||
# gather_facts: true
|
||||
# become: true
|
||||
# roles:
|
||||
# - sshd
|
||||
# - firewall
|
Reference in New Issue
Block a user