vm standup work for k8s
This commit is contained in:
@ -1,16 +1,26 @@
|
||||
---
|
||||
- name: create the vms
|
||||
hosts: hv00
|
||||
gather_facts: true
|
||||
become: true
|
||||
roles:
|
||||
- k8s_vms
|
||||
|
||||
- name: python bootstrap
|
||||
hosts: k8s
|
||||
gather_facts: false
|
||||
become: true
|
||||
roles:
|
||||
- python-install
|
||||
- name: ssh hardening
|
||||
|
||||
- name: vm hardening
|
||||
hosts: k8s
|
||||
gather_facts: true
|
||||
become: true
|
||||
roles:
|
||||
- sshd
|
||||
- firewall
|
||||
|
||||
- name: configure control plane
|
||||
hosts: k8s_control
|
||||
gather_facts: true
|
||||
|
Reference in New Issue
Block a user