1
0
IaC/ansible/playbooks/k8s.yaml
2022-10-24 02:54:34 +13:00

30 lines
434 B
YAML

---
- 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: vm hardening
hosts: k8s
gather_facts: true
become: true
roles:
- sshd
- firewall
- name: configure control plane
hosts: k8s_control
gather_facts: true
become: false
roles:
- k8s_control