vm standup work for k8s

This commit is contained in:
2022-10-24 02:54:34 +13:00
parent 31157afa57
commit fb6a488dac
5 changed files with 200 additions and 1 deletions

View File

@ -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